OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 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 "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const installer::Version& version, | 60 const installer::Version& version, |
61 bool system_install); | 61 bool system_install); |
62 | 62 |
63 // The user has qualified for the inactive user toast experiment and this | 63 // The user has qualified for the inactive user toast experiment and this |
64 // function just performs it. | 64 // function just performs it. |
65 virtual void InactiveUserToastExperiment(int flavor); | 65 virtual void InactiveUserToastExperiment(int flavor); |
66 | 66 |
67 protected: | 67 protected: |
68 BrowserDistribution() {} | 68 BrowserDistribution() {} |
69 | 69 |
| 70 static BrowserDistribution* GetDistribution(bool chrome_frame); |
| 71 |
70 private: | 72 private: |
71 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 73 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
72 }; | 74 }; |
73 | 75 |
74 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 76 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |