Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: chrome/installer/util/browser_distribution.h

Issue 2621713004: Remove *BinariesDistribution and ChromeBinariesOperations from installer_util. (Closed)
Patch Set: sync to position 442533 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // TODO(grt): Remove Type.
28 enum Type { 29 enum Type {
29 CHROME_BROWSER, 30 CHROME_BROWSER,
30 CHROME_BINARIES,
31 NUM_TYPES 31 NUM_TYPES
32 }; 32 };
33 33
34 enum Subfolder { 34 enum Subfolder {
35 SUBFOLDER_CHROME, 35 SUBFOLDER_CHROME,
36 SUBFOLDER_APPS, 36 SUBFOLDER_APPS,
37 }; 37 };
38 38
39 enum DefaultBrowserControlPolicy { 39 enum DefaultBrowserControlPolicy {
40 DEFAULT_BROWSER_UNSUPPORTED, 40 DEFAULT_BROWSER_UNSUPPORTED,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 std::unique_ptr<AppRegistrationData> app_reg_data_; 167 std::unique_ptr<AppRegistrationData> app_reg_data_;
168 168
169 private: 169 private:
170 BrowserDistribution(); 170 BrowserDistribution();
171 171
172 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 172 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
173 }; 173 };
174 174
175 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 175 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698