| 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 declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
| 6 | 6 |
| 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 DEFAULT_BROWSER_OS_CONTROL_ONLY, | 35 DEFAULT_BROWSER_OS_CONTROL_ONLY, |
| 36 DEFAULT_BROWSER_FULL_CONTROL | 36 DEFAULT_BROWSER_FULL_CONTROL |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 virtual ~BrowserDistribution(); | 39 virtual ~BrowserDistribution(); |
| 40 | 40 |
| 41 static BrowserDistribution* GetDistribution(); | 41 static BrowserDistribution* GetDistribution(); |
| 42 | 42 |
| 43 // Getter and adaptors for the underlying |app_reg_data_|. | 43 // Getter and adaptors for the underlying |app_reg_data_|. |
| 44 const AppRegistrationData& GetAppRegistrationData() const; | 44 const AppRegistrationData& GetAppRegistrationData() const; |
| 45 base::string16 GetAppGuid() const; | |
| 46 base::string16 GetStateKey() const; | 45 base::string16 GetStateKey() const; |
| 47 base::string16 GetStateMediumKey() const; | 46 base::string16 GetStateMediumKey() const; |
| 48 base::string16 GetVersionKey() const; | 47 base::string16 GetVersionKey() const; |
| 49 | 48 |
| 50 virtual void DoPostUninstallOperations( | 49 virtual void DoPostUninstallOperations( |
| 51 const base::Version& version, | 50 const base::Version& version, |
| 52 const base::FilePath& local_data_path, | 51 const base::FilePath& local_data_path, |
| 53 const base::string16& distribution_data); | 52 const base::string16& distribution_data); |
| 54 | 53 |
| 55 // Returns the GUID to be used when registering for Active Setup. | 54 // Returns the GUID to be used when registering for Active Setup. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 151 |
| 153 std::unique_ptr<AppRegistrationData> app_reg_data_; | 152 std::unique_ptr<AppRegistrationData> app_reg_data_; |
| 154 | 153 |
| 155 private: | 154 private: |
| 156 BrowserDistribution(); | 155 BrowserDistribution(); |
| 157 | 156 |
| 158 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 157 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 160 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |