| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file defines specific implementation of BrowserDistribution class for | 5 // This file defines specific implementation of BrowserDistribution class for |
| 6 // Google Chrome. | 6 // Google Chrome. |
| 7 | 7 |
| 8 #include "chrome/installer/util/google_chrome_distribution.h" | 8 #include "chrome/installer/util/google_chrome_distribution.h" |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/installer/util/google_update_constants.h" | 24 #include "chrome/installer/util/google_update_constants.h" |
| 25 #include "chrome/installer/util/google_update_settings.h" | 25 #include "chrome/installer/util/google_update_settings.h" |
| 26 #include "chrome/installer/util/helper.h" | 26 #include "chrome/installer/util/helper.h" |
| 27 #include "chrome/installer/util/install_util.h" | 27 #include "chrome/installer/util/install_util.h" |
| 28 #include "chrome/installer/util/installer_util_strings.h" | 28 #include "chrome/installer/util/installer_util_strings.h" |
| 29 #include "chrome/installer/util/l10n_string_util.h" | 29 #include "chrome/installer/util/l10n_string_util.h" |
| 30 #include "chrome/installer/util/uninstall_metrics.h" | 30 #include "chrome/installer/util/uninstall_metrics.h" |
| 31 #include "chrome/installer/util/updating_app_registration_data.h" | 31 #include "chrome/installer/util/updating_app_registration_data.h" |
| 32 #include "chrome/installer/util/util_constants.h" | 32 #include "chrome/installer/util/util_constants.h" |
| 33 #include "chrome/installer/util/wmi.h" | 33 #include "chrome/installer/util/wmi.h" |
| 34 #include "content/public/common/result_codes.h" | |
| 35 | 34 |
| 36 namespace { | 35 namespace { |
| 37 | 36 |
| 38 const wchar_t kChromeGuid[] = L"{8A69D345-D564-463c-AFF1-A69D9E530F96}"; | 37 const wchar_t kChromeGuid[] = L"{8A69D345-D564-463c-AFF1-A69D9E530F96}"; |
| 39 const wchar_t kBrowserAppId[] = L"Chrome"; | 38 const wchar_t kBrowserAppId[] = L"Chrome"; |
| 40 const wchar_t kBrowserProgIdPrefix[] = L"ChromeHTML"; | 39 const wchar_t kBrowserProgIdPrefix[] = L"ChromeHTML"; |
| 41 const wchar_t kBrowserProgIdDesc[] = L"Chrome HTML Document"; | 40 const wchar_t kBrowserProgIdDesc[] = L"Chrome HTML Document"; |
| 42 const wchar_t kCommandExecuteImplUuid[] = | 41 const wchar_t kCommandExecuteImplUuid[] = |
| 43 L"{5C65F4B0-3651-4514-B207-D10CB699B14B}"; | 42 L"{5C65F4B0-3651-4514-B207-D10CB699B14B}"; |
| 44 | 43 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 GetAppGuid()); | 270 GetAppGuid()); |
| 272 } | 271 } |
| 273 | 272 |
| 274 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { | 273 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { |
| 275 return true; | 274 return true; |
| 276 } | 275 } |
| 277 | 276 |
| 278 bool GoogleChromeDistribution::HasUserExperiments() { | 277 bool GoogleChromeDistribution::HasUserExperiments() { |
| 279 return true; | 278 return true; |
| 280 } | 279 } |
| OLD | NEW |