OLD | NEW |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 const wchar_t kHeadless[] = L"CHROME_HEADLESS"; | 60 const wchar_t kHeadless[] = L"CHROME_HEADLESS"; |
61 const wchar_t kShowRestart[] = L"CHROME_CRASHED"; | 61 const wchar_t kShowRestart[] = L"CHROME_CRASHED"; |
62 const wchar_t kRestartInfo[] = L"CHROME_RESTART"; | 62 const wchar_t kRestartInfo[] = L"CHROME_RESTART"; |
63 const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT"; | 63 const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT"; |
64 | 64 |
65 const char kGpuProcess[] = "gpu-process"; | 65 const char kGpuProcess[] = "gpu-process"; |
66 const char kPpapiPluginProcess[] = "ppapi"; | 66 const char kPpapiPluginProcess[] = "ppapi"; |
67 const char kRendererProcess[] = "renderer"; | 67 const char kRendererProcess[] = "renderer"; |
68 const char kUtilityProcess[] = "utility"; | 68 const char kUtilityProcess[] = "utility"; |
| 69 const char kProcessType[] = "type"; |
| 70 const char kCrashpadHandler[] = "crashpad-handler"; |
69 | 71 |
70 namespace { | 72 namespace { |
71 | 73 |
72 // TODO(ananta) | 74 // TODO(ananta) |
73 // http://crbug.com/604923 | 75 // http://crbug.com/604923 |
74 // 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 |
75 // need to unify them. | 77 // need to unify them. |
76 #if defined(GOOGLE_CHROME_BUILD) | 78 #if defined(GOOGLE_CHROME_BUILD) |
77 const wchar_t kSxSSuffix[] = L" SxS"; | 79 const wchar_t kSxSSuffix[] = L" SxS"; |
78 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; | 80 const wchar_t kGoogleChromeInstallSubDir1[] = L"Google"; |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 return true; | 896 return true; |
895 } | 897 } |
896 } | 898 } |
897 } | 899 } |
898 // Here it means that both versions are equal. | 900 // Here it means that both versions are equal. |
899 *result = 0; | 901 *result = 0; |
900 return true; | 902 return true; |
901 } | 903 } |
902 | 904 |
903 } // namespace install_static | 905 } // namespace install_static |
OLD | NEW |