Chromium Code Reviews| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 | 101 |
| 102 BrowserDistribution::DefaultBrowserControlPolicy | 102 BrowserDistribution::DefaultBrowserControlPolicy |
| 103 ChromeFrameDistribution::GetDefaultBrowserControlPolicy() { | 103 ChromeFrameDistribution::GetDefaultBrowserControlPolicy() { |
| 104 return DEFAULT_BROWSER_UNSUPPORTED; | 104 return DEFAULT_BROWSER_UNSUPPORTED; |
| 105 } | 105 } |
| 106 | 106 |
| 107 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { | 107 bool ChromeFrameDistribution::CanCreateDesktopShortcuts() { |
| 108 return false; | 108 return false; |
| 109 } | 109 } |
| 110 | 110 |
| 111 bool ChromeFrameDistribution::GetCommandExecuteImplClsid( | 111 base::string16 ChromeFrameDistribution::GetCommandExecuteImplClsid() { |
| 112 base::string16* handler_class_uuid) { | 112 return L""; |
|
grt (UTC plus 2)
2015/09/01 20:02:27
return base::string16();
gab
2015/09/02 14:22:59
Done.
| |
| 113 return false; | |
| 114 } | 113 } |
| 115 | 114 |
| 116 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, | 115 void ChromeFrameDistribution::UpdateInstallStatus(bool system_install, |
| 117 installer::ArchiveType archive_type, | 116 installer::ArchiveType archive_type, |
| 118 installer::InstallStatus install_status) { | 117 installer::InstallStatus install_status) { |
| 119 #if defined(GOOGLE_CHROME_BUILD) | 118 #if defined(GOOGLE_CHROME_BUILD) |
| 120 GoogleUpdateSettings::UpdateInstallStatus(system_install, | 119 GoogleUpdateSettings::UpdateInstallStatus(system_install, |
| 121 archive_type, InstallUtil::GetInstallReturnCode(install_status), | 120 archive_type, InstallUtil::GetInstallReturnCode(install_status), |
| 122 kChromeFrameGuid); | 121 kChromeFrameGuid); |
| 123 #endif | 122 #endif |
| 124 } | 123 } |
| OLD | NEW |