OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/version.h" | 16 #include "base/version.h" |
17 #include "chrome/installer/util/util_constants.h" | 17 #include "chrome/installer/util/util_constants.h" |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include <windows.h> // NOLINT | 20 #include <windows.h> // NOLINT |
21 #endif | 21 #endif |
22 | 22 |
23 class CommandLine; | |
24 | |
25 namespace installer { | 23 namespace installer { |
26 class ChannelInfo; | |
27 class MasterPreferences; | |
28 class Product; | 24 class Product; |
29 } | 25 } |
30 | 26 |
31 class BrowserDistribution { | 27 class BrowserDistribution { |
32 public: | 28 public: |
33 enum Type { | 29 enum Type { |
34 CHROME_BROWSER, | 30 CHROME_BROWSER, |
35 CHROME_FRAME, | 31 CHROME_FRAME, |
36 CHROME_BINARIES, | 32 CHROME_BINARIES, |
37 NUM_TYPES | 33 NUM_TYPES |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 146 |
151 const Type type_; | 147 const Type type_; |
152 | 148 |
153 private: | 149 private: |
154 BrowserDistribution(); | 150 BrowserDistribution(); |
155 | 151 |
156 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 152 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
157 }; | 153 }; |
158 | 154 |
159 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 155 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
OLD | NEW |