| 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 Frame. It overrides the bare minimum of methods necessary to get a | 6 // Chrome Frame. It overrides the bare minimum of methods necessary to get a |
| 7 // Chrome Frame installer that does not interact with Google Chrome or | 7 // Chrome Frame installer that does not interact with Google Chrome or |
| 8 // Chromium installations. | 8 // Chromium installations. |
| 9 | 9 |
| 10 #include "chrome/installer/util/chrome_frame_distribution.h" | 10 #include "chrome/installer/util/chrome_frame_distribution.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 } | 115 } |
| 116 | 116 |
| 117 bool ChromeFrameDistribution::CanSetAsDefault() { | 117 bool ChromeFrameDistribution::CanSetAsDefault() { |
| 118 return false; | 118 return false; |
| 119 } | 119 } |
| 120 | 120 |
| 121 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { | 121 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { |
| 122 return false; | 122 return false; |
| 123 } | 123 } |
| 124 | 124 |
| 125 bool ChromeFrameDistribution::GetDelegateExecuteHandlerData( |
| 126 string16* handler_class_uuid, |
| 127 string16* type_lib_uuid, |
| 128 string16* type_lib_version, |
| 129 string16* interface_uuid) { |
| 130 return false; |
| 131 } |
| 132 |
| 125 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, | 133 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, |
| 126 installer::ArchiveType archive_type, | 134 installer::ArchiveType archive_type, |
| 127 installer::InstallStatus install_status) { | 135 installer::InstallStatus install_status) { |
| 128 #if defined(GOOGLE_CHROME_BUILD) | 136 #if defined(GOOGLE_CHROME_BUILD) |
| 129 GoogleUpdateSettings::UpdateInstallStatus(system_install, | 137 GoogleUpdateSettings::UpdateInstallStatus(system_install, |
| 130 archive_type, InstallUtil::GetInstallReturnCode(install_status), | 138 archive_type, InstallUtil::GetInstallReturnCode(install_status), |
| 131 kChromeFrameGuid); | 139 kChromeFrameGuid); |
| 132 #endif | 140 #endif |
| 133 } | 141 } |
| OLD | NEW |