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> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/version.h" | 16 #include "base/version.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "chrome/installer/util/util_constants.h" | 18 #include "chrome/installer/util/util_constants.h" |
19 | 19 |
20 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
21 #include <windows.h> // NOLINT | 21 #include <windows.h> // NOLINT |
22 #endif | 22 #endif |
23 | 23 |
24 class AppRegistrationData; | 24 class AppRegistrationData; |
25 | 25 |
26 class BrowserDistribution { | 26 class BrowserDistribution { |
27 public: | 27 public: |
28 enum Type { | 28 enum Type { |
29 CHROME_BROWSER, | 29 CHROME_BROWSER, |
30 CHROME_FRAME, | |
31 CHROME_BINARIES, | 30 CHROME_BINARIES, |
32 NUM_TYPES | 31 NUM_TYPES |
33 }; | 32 }; |
34 | 33 |
35 enum Subfolder { | 34 enum Subfolder { |
36 SUBFOLDER_CHROME, | 35 SUBFOLDER_CHROME, |
37 SUBFOLDER_APPS, | 36 SUBFOLDER_APPS, |
38 }; | 37 }; |
39 | 38 |
40 enum DefaultBrowserControlPolicy { | 39 enum DefaultBrowserControlPolicy { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 166 |
168 std::unique_ptr<AppRegistrationData> app_reg_data_; | 167 std::unique_ptr<AppRegistrationData> app_reg_data_; |
169 | 168 |
170 private: | 169 private: |
171 BrowserDistribution(); | 170 BrowserDistribution(); |
172 | 171 |
173 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 172 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
174 }; | 173 }; |
175 | 174 |
176 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 175 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |