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 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_H_ |
6 #define CHROME_INSTALLER_UTIL_PRODUCT_H_ | 6 #define CHROME_INSTALLER_UTIL_PRODUCT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <set> | 11 #include <set> |
11 #include <string> | 12 #include <string> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | |
16 #include "chrome/installer/util/browser_distribution.h" | 16 #include "chrome/installer/util/browser_distribution.h" |
17 #include "chrome/installer/util/shell_util.h" | 17 #include "chrome/installer/util/shell_util.h" |
18 #include "chrome/installer/util/util_constants.h" | 18 #include "chrome/installer/util/util_constants.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class CommandLine; | 21 class CommandLine; |
22 } | 22 } |
23 | 23 |
24 namespace installer { | 24 namespace installer { |
25 | 25 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void LaunchUserExperiment(const base::FilePath& setup_path, | 125 void LaunchUserExperiment(const base::FilePath& setup_path, |
126 InstallStatus status, | 126 InstallStatus status, |
127 bool system_level) const; | 127 bool system_level) const; |
128 | 128 |
129 protected: | 129 protected: |
130 enum CacheStateFlags { | 130 enum CacheStateFlags { |
131 MSI_STATE = 0x01 | 131 MSI_STATE = 0x01 |
132 }; | 132 }; |
133 | 133 |
134 BrowserDistribution* distribution_; | 134 BrowserDistribution* distribution_; |
135 scoped_ptr<ProductOperations> operations_; | 135 std::unique_ptr<ProductOperations> operations_; |
136 std::set<std::wstring> options_; | 136 std::set<std::wstring> options_; |
137 | 137 |
138 private: | 138 private: |
139 DISALLOW_COPY_AND_ASSIGN(Product); | 139 DISALLOW_COPY_AND_ASSIGN(Product); |
140 }; | 140 }; |
141 | 141 |
142 } // namespace installer | 142 } // namespace installer |
143 | 143 |
144 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_ | 144 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_ |
OLD | NEW |