| 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 19 matching lines...) Expand all Loading... |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 enum ShortcutType { | 32 enum ShortcutType { |
| 33 SHORTCUT_CHROME, | 33 SHORTCUT_CHROME, |
| 34 SHORTCUT_CHROME_ALTERNATE, | 34 SHORTCUT_CHROME_ALTERNATE, |
| 35 SHORTCUT_APP_LAUNCHER | 35 SHORTCUT_APP_LAUNCHER |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 enum Subfolder { | 38 enum Subfolder { |
| 39 SUBFOLDER_CHROME, | 39 SUBFOLDER_CHROME, |
| 40 // TODO(calamity): add SUBFOLDER_APPS when refactoring chrome app dir code. | 40 SUBFOLDER_APPS, |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 enum DefaultBrowserControlPolicy { | 43 enum DefaultBrowserControlPolicy { |
| 44 DEFAULT_BROWSER_UNSUPPORTED, | 44 DEFAULT_BROWSER_UNSUPPORTED, |
| 45 DEFAULT_BROWSER_OS_CONTROL_ONLY, | 45 DEFAULT_BROWSER_OS_CONTROL_ONLY, |
| 46 DEFAULT_BROWSER_FULL_CONTROL | 46 DEFAULT_BROWSER_FULL_CONTROL |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 virtual ~BrowserDistribution() {} | 49 virtual ~BrowserDistribution() {} |
| 50 | 50 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 const Type type_; | 171 const Type type_; |
| 172 | 172 |
| 173 private: | 173 private: |
| 174 BrowserDistribution(); | 174 BrowserDistribution(); |
| 175 | 175 |
| 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |