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 a specific implementation of BrowserDistribution class for | 5 // This file defines a specific implementation of BrowserDistribution class for |
6 // Chrome App Host. It overrides the bare minimum of methods necessary to get a | 6 // Chrome App Host. It overrides the bare minimum of methods necessary to get a |
7 // Chrome App Host installer that does not interact with Google Chrome or | 7 // Chrome App Host installer that does not interact with Google Chrome or |
8 // Chromium installations. | 8 // Chromium installations. |
9 | 9 |
10 #include "chrome/installer/util/chrome_app_host_distribution.h" | 10 #include "chrome/installer/util/chrome_app_host_distribution.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 bool ChromeAppHostDistribution::GetCommandExecuteImplClsid( | 115 bool ChromeAppHostDistribution::GetCommandExecuteImplClsid( |
116 base::string16* handler_class_uuid) { | 116 base::string16* handler_class_uuid) { |
117 return false; | 117 return false; |
118 } | 118 } |
119 | 119 |
120 void ChromeAppHostDistribution::UpdateInstallStatus(bool system_install, | 120 void ChromeAppHostDistribution::UpdateInstallStatus(bool system_install, |
121 installer::ArchiveType archive_type, | 121 installer::ArchiveType archive_type, |
122 installer::InstallStatus install_status) { | 122 installer::InstallStatus install_status) { |
123 #if defined(GOOGLE_CHROME_BUILD) | 123 #if defined(GOOGLE_CHROME_BUILD) |
124 GoogleUpdateSettings::UpdateInstallStatus(system_install, | 124 GoogleUpdateSettings::UpdateInstallStatus( |
125 archive_type, InstallUtil::GetInstallReturnCode(install_status), | 125 system_install, |
126 kChromeAppHostGuid); | 126 archive_type, |
| 127 InstallUtil::GetInstallReturnCode(install_status), |
| 128 installer::kAppLauncherGuid); |
127 #endif | 129 #endif |
128 } | 130 } |
OLD | NEW |