Chromium Code Reviews
        
  DescriptionRemove FilePath usage from the CrashReporterClient interface on Windows.
The CrashReporterClient implementation on Windows which is implemented by
the ChromeCrashReporterClient class will eventually move into chrome_elf
which loads very early in the chrome process. This requires it to not
depend on anything other than kernel32.dll and advapi32.dll.
Depending on base::FilePath pulls in FileUtil which on Windows brings with
it dependencies on message loop etc which won't work in chrome_elf.
Additionally the ChromeCrashReporterClient class currently depends on
content for constants, etc.
I defined these constants in the install_static library along with TODOs
to unify them. I plan to do that after finishing up the work for
chrome_elf.
The changes in this patch are as below:-
1. Remove FilePath from the CrashReporterClient functions on Windows.
2. Use the constants from install_static instead of those from content
   and base::Env.
3. Remove usage of base::Version from ChromeCrashReporterClient as that
   pulls in base logging which is not good for us.
4. Replace DCHECKs with asserts in ChromeCrashReporterClient
BUG=604923
Committed: https://crrev.com/e76a92ef5942fe99139ae02e7dc5162dc0b24358
Cr-Commit-Position: refs/heads/master@{#397865}
   
  Patch Set 1 #Patch Set 2 : Update comment and #define DCHECK assert #Patch Set 3 : Fix build error #
      Total comments: 7
      
     
  
  
  
  Patch Set 4 : Address review comments #Patch Set 5 : Fix build error #
      Total comments: 14
      
     
  
  
  
  Patch Set 6 : Address review comments #Patch Set 7 : Fix build error #
      Total comments: 8
      
     
  
  
  
  Patch Set 8 : Address review comments #Patch Set 9 : Fix clang redness #
      Total comments: 2
      
     
  
  
  
  Patch Set 10 : Fix clang redness #Patch Set 11 : Fix clang error #Patch Set 12 : Attempt 3 at fixing clang #Patch Set 13 : Remove unused constant to fix clang #Depends on Patchset: Messages
    Total messages: 34 (10 generated)
     
  
  
       |