| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 extends the browser distribution with a specific implementation | 5 // This file extends the browser distribution with a specific implementation |
| 6 // for Chrome Frame. | 6 // for Chrome Frame. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 10 #pragma once | 10 #pragma once |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual std::wstring GetEnvVersionKey(); | 47 virtual std::wstring GetEnvVersionKey(); |
| 48 | 48 |
| 49 virtual bool CanSetAsDefault(); | 49 virtual bool CanSetAsDefault(); |
| 50 | 50 |
| 51 // This is the point at which the Google Chrome installer removes the Google | 51 // This is the point at which the Google Chrome installer removes the Google |
| 52 // Update ap value. We implement this simply to have the same behaviour re. | 52 // Update ap value. We implement this simply to have the same behaviour re. |
| 53 // the ap value. | 53 // the ap value. |
| 54 virtual void UpdateDiffInstallStatus(bool system_install, | 54 virtual void UpdateDiffInstallStatus(bool system_install, |
| 55 bool incremental_install, installer_util::InstallStatus install_status); | 55 bool incremental_install, installer_util::InstallStatus install_status); |
| 56 | 56 |
| 57 virtual FilePath::StringType GetKeyFile(); |
| 58 |
| 57 protected: | 59 protected: |
| 58 friend class BrowserDistribution; | 60 friend class BrowserDistribution; |
| 59 | 61 |
| 60 // Disallow construction from non-friends. | 62 // Disallow construction from non-friends. |
| 61 ChromeFrameDistribution() { | 63 ChromeFrameDistribution() { |
| 62 type_ = BrowserDistribution::CHROME_FRAME; | 64 type_ = BrowserDistribution::CHROME_FRAME; |
| 63 } | 65 } |
| 64 | |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 68 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| OLD | NEW |