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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 virtual ~BrowserDistribution() {} | 49 virtual ~BrowserDistribution() {} |
50 | 50 |
51 static BrowserDistribution* GetDistribution(); | 51 static BrowserDistribution* GetDistribution(); |
52 | 52 |
53 static BrowserDistribution* GetSpecificDistribution(Type type); | 53 static BrowserDistribution* GetSpecificDistribution(Type type); |
54 | 54 |
55 Type GetType() const { return type_; } | 55 Type GetType() const { return type_; } |
56 | 56 |
57 virtual void DoPostUninstallOperations( | 57 virtual void DoPostUninstallOperations( |
58 const base::Version& version, | 58 const Version& version, |
59 const base::FilePath& local_data_path, | 59 const base::FilePath& local_data_path, |
60 const base::string16& distribution_data); | 60 const base::string16& distribution_data); |
61 | 61 |
62 // Returns the GUID to be used when registering for Active Setup. | 62 // Returns the GUID to be used when registering for Active Setup. |
63 virtual base::string16 GetActiveSetupGuid(); | 63 virtual base::string16 GetActiveSetupGuid(); |
64 | 64 |
65 virtual base::string16 GetAppGuid(); | 65 virtual base::string16 GetAppGuid(); |
66 | 66 |
67 // Returns the unsuffixed application name of this program. | 67 // Returns the unsuffixed application name of this program. |
68 // This is the base of the name registered with Default Programs on Windows. | 68 // This is the base of the name registered with Default Programs on Windows. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 const Type type_; | 173 const Type type_; |
174 | 174 |
175 private: | 175 private: |
176 BrowserDistribution(); | 176 BrowserDistribution(); |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 178 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
179 }; | 179 }; |
180 | 180 |
181 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 181 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |