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 <string> | 10 #include <string> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Type GetType() const { return type_; } | 57 Type GetType() const { return type_; } |
58 | 58 |
59 // Getter and adaptors for the underlying |app_reg_data_|. | 59 // Getter and adaptors for the underlying |app_reg_data_|. |
60 const AppRegistrationData& GetAppRegistrationData() const; | 60 const AppRegistrationData& GetAppRegistrationData() const; |
61 base::string16 GetAppGuid() const; | 61 base::string16 GetAppGuid() const; |
62 base::string16 GetStateKey() const; | 62 base::string16 GetStateKey() const; |
63 base::string16 GetStateMediumKey() const; | 63 base::string16 GetStateMediumKey() const; |
64 base::string16 GetVersionKey() const; | 64 base::string16 GetVersionKey() const; |
65 | 65 |
66 virtual void DoPostUninstallOperations( | 66 virtual void DoPostUninstallOperations( |
67 const base::Version& version, | 67 const Version& version, |
68 const base::FilePath& local_data_path, | 68 const base::FilePath& local_data_path, |
69 const base::string16& distribution_data); | 69 const base::string16& distribution_data); |
70 | 70 |
71 // Returns the GUID to be used when registering for Active Setup. | 71 // Returns the GUID to be used when registering for Active Setup. |
72 virtual base::string16 GetActiveSetupGuid(); | 72 virtual base::string16 GetActiveSetupGuid(); |
73 | 73 |
74 // Returns the unsuffixed application name of this program. | 74 // Returns the unsuffixed application name of this program. |
75 // This is the base of the name registered with Default Programs on Windows. | 75 // This is the base of the name registered with Default Programs on Windows. |
76 // IMPORTANT: This should only be called by the installer which needs to make | 76 // IMPORTANT: This should only be called by the installer which needs to make |
77 // decisions on the suffixing of the upcoming install, not by external callers | 77 // decisions on the suffixing of the upcoming install, not by external callers |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 scoped_ptr<AppRegistrationData> app_reg_data_; | 169 scoped_ptr<AppRegistrationData> app_reg_data_; |
170 | 170 |
171 private: | 171 private: |
172 BrowserDistribution(); | 172 BrowserDistribution(); |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 174 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
175 }; | 175 }; |
176 | 176 |
177 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 177 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |