1. 29 Jun, 2016 2 commits
    • fdoray's avatar
      Don't use ::GetFileVersionInfo() in CreateFileVersionInfoForModule() · 5b7de9e9
      fdoray authored
      Currently, base::FileVersionInfo::CreateFileVersionInfoForModule()
      calls ::GetModuleFileName and ::GetFileVersionInfo, grabs the loader
      lock and potentially touches the disk to obtain the VS_VERSION_INFO
      of the module. This is gratuitous for a module that is already loaded.
      
      With this CL, base::FileVersionInfo::CreateFileVersionInfoForModule()
      uses base::win::GetResourceFromModule() to get the VS_VERSION_INFO
      resource from memory.
      
      First version of this CL: https://codereview.chromium.org/2046583002/
      
      TBR=thestig@chromium.org
      BUG=609709
      
      Review-Url: https://codereview.chromium.org/2111613002
      Cr-Commit-Position: refs/heads/master@{#402985}
      5b7de9e9
    • petewil's avatar
      Revert of Don't use ::GetFileVersionInfo() in CreateFileVersionInfoForModule()... · d916fc3b
      petewil authored
      Revert of Don't use ::GetFileVersionInfo() in CreateFileVersionInfoForModule() (patchset #13 id:240001 of https://codereview.chromium.org/2046583002/ )
      
      Reason for revert:
      Sheriff reverting on suspicion of causing the Win x64 build to fail:
      https://build.chromium.org/p/chromium/builders/Win%20x64/builds/1995
      
      From the log:
      FAILED: obj/base/base.file_version_info_win.obj
      ninja -t msvc -e environment.x64 -- C:\b\build\slave\cache\cipd\goma/gomacc "C:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\base.file_version_info_win.obj.rsp /c ..\..\base\file_version_info_win.cc /Foobj\base\base.file_version_info_win.obj /Fdobj\base\base.cc.pdb
      c:\b\build\slave\win_x64\build\src\base\file_version_info_win.cc(81): error C2220: warning treated as error - no 'object' file generated
      c:\b\build\slave\win_x64\build\src\base\file_version_info_win.cc(81): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data
      [8341/32887] CXX obj\base\threading\base.thread_collision_warner.obj
      
      Original issue's description:
      > Don't use ::GetFileVersionInfo() in CreateFileVersionInfoForModule()
      >
      > Currently, base::FileVersionInfo::CreateFileVersionInfoForModule()
      > calls ::GetModuleFileName and ::GetFileVersionInfo, grabs the loader
      > lock and potentially touches the disk to obtain the VS_VERSION_INFO
      > of the module. This is gratuitous for a module that is already loaded.
      >
      > With this CL, base::FileVersionInfo::CreateFileVersionInfoForModule()
      > uses base::win::GetResourceFromModule() to get the VS_VERSION_INFO
      > resource from memory.
      >
      > BUG=609709
      >
      > Committed: https://crrev.com/f177a678814f97f0b35bd6aa678c1cf885ad1656
      > Cr-Commit-Position: refs/heads/master@{#402549}
      
      TBR=grt@chromium.org,thestig@chromium.org,fdoray@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=609709
      
      Review-Url: https://codereview.chromium.org/2102363002
      Cr-Commit-Position: refs/heads/master@{#402616}
      d916fc3b
  2. 28 Jun, 2016 1 commit
    • fdoray's avatar
      Don't use ::GetFileVersionInfo() in CreateFileVersionInfoForModule() · f177a678
      fdoray authored
      Currently, base::FileVersionInfo::CreateFileVersionInfoForModule()
      calls ::GetModuleFileName and ::GetFileVersionInfo, grabs the loader
      lock and potentially touches the disk to obtain the VS_VERSION_INFO
      of the module. This is gratuitous for a module that is already loaded.
      
      With this CL, base::FileVersionInfo::CreateFileVersionInfoForModule()
      uses base::win::GetResourceFromModule() to get the VS_VERSION_INFO
      resource from memory.
      
      BUG=609709
      
      Review-Url: https://codereview.chromium.org/2046583002
      Cr-Commit-Position: refs/heads/master@{#402549}
      f177a678
  3. 04 Apr, 2016 1 commit
  4. 26 Dec, 2015 1 commit
  5. 10 Dec, 2015 1 commit
    • thakis's avatar
      clang/win: Let some chromium_code targets build with -Wextra. · 9230c1d2
      thakis authored
      To make warning flags between Windows and non-Windows clang consistent,
      I'd like to build chromium_code targets with -Wextra enabled.  This fixes
      -Wextra warnings in about 14k of 31k build steps.
      
      Most of the warnings were about signed/unsigned mismatches; some were about
      "const"s that had no effect.
      
      (This CL does not contain the change to actually turn on -Wextra, only
      cleanups.)
      
      BUG=567877
      TBR=content/common/sandbox
      
      Review URL: https://codereview.chromium.org/1507413003
      
      Cr-Commit-Position: refs/heads/master@{#364232}
      9230c1d2
  6. 02 Jul, 2015 1 commit
  7. 28 Jul, 2014 1 commit
  8. 14 May, 2013 1 commit
  9. 18 Feb, 2013 1 commit
  10. 03 Dec, 2012 1 commit
  11. 19 Jul, 2011 1 commit
  12. 28 Mar, 2011 1 commit
    • levin@chromium.org's avatar
      Move some files from base to base/memory. · 3b63f8f4
      levin@chromium.org authored
      raw_scoped_refptr_mismatch_checker.h
      ref_counted.cc
      ref_counted.h
      ref_counted_memory.cc
      ref_counted_memory.h
      ref_counted_unittest.cc
      scoped_callback_factory.h
      scoped_comptr_win.h
      scoped_handle.h
      scoped_native_library.cc
      scoped_native_library.h
      scoped_native_library_unittest.cc
      scoped_nsobject.h
      scoped_open_process.h
      scoped_ptr.h
      scoped_ptr_unittest.cc
      scoped_temp_dir.cc
      scoped_temp_dir.h
      scoped_temp_dir_unittest.cc
      scoped_vector.h
      singleton.h
      singleton_objc.h
      singleton_unittest.cc
      linked_ptr.h
      linked_ptr_unittest.cc
      weak_ptr.cc
      weak_ptr.h
      weak_ptr_unittest.cc
      
      BUG=None
      TEST=Compile
      
      Review URL: http://codereview.chromium.org/6714032
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
      3b63f8f4
  13. 04 Oct, 2010 1 commit
  14. 14 Apr, 2010 1 commit
  15. 09 Sep, 2009 1 commit
  16. 10 Mar, 2009 1 commit
  17. 24 Aug, 2008 1 commit
  18. 05 Aug, 2008 1 commit
  19. 26 Jul, 2008 1 commit