| 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 extends generic BrowserDistribution class to declare Google Chrome | 5 // This file extends generic BrowserDistribution class to declare Google Chrome |
| 6 // specific implementation. | 6 // specific implementation. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 virtual void UpdateInstallStatus( | 85 virtual void UpdateInstallStatus( |
| 86 bool system_install, | 86 bool system_install, |
| 87 installer::ArchiveType archive_type, | 87 installer::ArchiveType archive_type, |
| 88 installer::InstallStatus install_status) OVERRIDE; | 88 installer::InstallStatus install_status) OVERRIDE; |
| 89 | 89 |
| 90 virtual bool ShouldSetExperimentLabels() OVERRIDE; | 90 virtual bool ShouldSetExperimentLabels() OVERRIDE; |
| 91 | 91 |
| 92 virtual bool HasUserExperiments() OVERRIDE; | 92 virtual bool HasUserExperiments() OVERRIDE; |
| 93 | 93 |
| 94 virtual int GetSafeModeHotkey() OVERRIDE; |
| 95 |
| 94 const string16& product_guid() { return product_guid_; } | 96 const string16& product_guid() { return product_guid_; } |
| 95 | 97 |
| 96 protected: | 98 protected: |
| 97 void set_product_guid(const string16& guid) { product_guid_ = guid; } | 99 void set_product_guid(const string16& guid) { product_guid_ = guid; } |
| 98 | 100 |
| 99 // Disallow construction from others. | 101 // Disallow construction from others. |
| 100 GoogleChromeDistribution(); | 102 GoogleChromeDistribution(); |
| 101 | 103 |
| 102 private: | 104 private: |
| 103 friend class BrowserDistribution; | 105 friend class BrowserDistribution; |
| 104 | 106 |
| 105 // The product ID for Google Update. | 107 // The product ID for Google Update. |
| 106 string16 product_guid_; | 108 string16 product_guid_; |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 111 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| OLD | NEW |