Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: chrome/install_static/install_util.cc

Issue 2031833002: Remove FilePath usage from the CrashReporterClient interface on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/install_static/install_util.h" 5 #include "chrome/install_static/install_util.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <assert.h> 8 #include <assert.h>
9 #include <algorithm> 9 #include <algorithm>
10 #include <iostream> 10 #include <iostream>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments"; 50 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments";
51 const wchar_t kMetricsReportingEnabled[] = L"MetricsReportingEnabled"; 51 const wchar_t kMetricsReportingEnabled[] = L"MetricsReportingEnabled";
52 52
53 const wchar_t kAppGuidCanary[] = 53 const wchar_t kAppGuidCanary[] =
54 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; 54 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}";
55 const wchar_t kAppGuidGoogleChrome[] = 55 const wchar_t kAppGuidGoogleChrome[] =
56 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}"; 56 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
57 const wchar_t kAppGuidGoogleBinaries[] = 57 const wchar_t kAppGuidGoogleBinaries[] =
58 L"{4DC8B4CA-1BDA-483e-B5FA-D3C12E15B62D}"; 58 L"{4DC8B4CA-1BDA-483e-B5FA-D3C12E15B62D}";
59 59
60 const char kHeadless[] = "CHROME_HEADLESS";
61 const char kShowRestart[] = "CHROME_CRASHED";
62 const char kRestartInfo[] = "CHROME_RESTART";
63 const char kRtlLocale[] = "RIGHT_TO_LEFT";
64 const char kLtrLocale[] = "LEFT_TO_RIGHT";
65
66 const char kGpuProcess[] = "gpu-process";
67 const char kPpapiPluginProcess[] = "ppapi";
68 const char kRendererProcess[] = "renderer";
69 const char kUtilityProcess[] = "utility";
70 const char kZygoteProcess[] = "zygote";
71
60 namespace { 72 namespace {
61 73
62 // TODO(ananta) 74 // TODO(ananta)
63 // http://crbug.com/604923 75 // http://crbug.com/604923
64 // These constants are defined in the chrome/installer directory as well. We 76 // These constants are defined in the chrome/installer directory as well. We
65 // need to unify them. 77 // need to unify them.
66 #if defined(GOOGLE_CHROME_BUILD) 78 #if defined(GOOGLE_CHROME_BUILD)
67 const wchar_t kSxSSuffix[] = L" SxS"; 79 const wchar_t kSxSSuffix[] = L" SxS";
68 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; 80 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google";
69 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome"; 81 const wchar_t kGoogleChromeInstallSubDir2[] = L"Chrome";
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 return true; 857 return true;
846 } 858 }
847 } 859 }
848 } 860 }
849 // Here it means that both versions are equal. 861 // Here it means that both versions are equal.
850 *result = 0; 862 *result = 0;
851 return true; 863 return true;
852 } 864 }
853 865
854 } // namespace install_static 866 } // namespace install_static
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698