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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 void ChromeAppHostDistribution::UpdateInstallStatus(bool system_install, | 140 void ChromeAppHostDistribution::UpdateInstallStatus(bool system_install, |
141 installer::ArchiveType archive_type, | 141 installer::ArchiveType archive_type, |
142 installer::InstallStatus install_status) { | 142 installer::InstallStatus install_status) { |
143 #if defined(GOOGLE_CHROME_BUILD) | 143 #if defined(GOOGLE_CHROME_BUILD) |
144 GoogleUpdateSettings::UpdateInstallStatus(system_install, | 144 GoogleUpdateSettings::UpdateInstallStatus(system_install, |
145 archive_type, InstallUtil::GetInstallReturnCode(install_status), | 145 archive_type, InstallUtil::GetInstallReturnCode(install_status), |
146 kChromeAppHostGuid); | 146 kChromeAppHostGuid); |
147 #endif | 147 #endif |
148 } | 148 } |
OLD | NEW |