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

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

Issue 12321061: Pulling user experiment code from BrowserDistribution to a new class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Making user experiments unavailable for Chromium. Created 7 years, 9 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 #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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void AppendRenameFlags(CommandLine* command_line) const; 122 void AppendRenameFlags(CommandLine* command_line) const;
123 123
124 // See Productoperations::SetChannelFlags. 124 // See Productoperations::SetChannelFlags.
125 bool SetChannelFlags(bool set, ChannelInfo* channel_info) const; 125 bool SetChannelFlags(bool set, ChannelInfo* channel_info) const;
126 126
127 // See ProductOperations::AddDefaultShortcutProperties. 127 // See ProductOperations::AddDefaultShortcutProperties.
128 void AddDefaultShortcutProperties( 128 void AddDefaultShortcutProperties(
129 const base::FilePath& target_exe, 129 const base::FilePath& target_exe,
130 ShellUtil::ShortcutProperties* properties) const; 130 ShellUtil::ShortcutProperties* properties) const;
131 131
132 void LaunchUserExperiment(const base::FilePath& setup_path,
133 InstallStatus status,
134 bool system_level) const;
135
132 protected: 136 protected:
133 enum CacheStateFlags { 137 enum CacheStateFlags {
134 MSI_STATE = 0x01 138 MSI_STATE = 0x01
135 }; 139 };
136 140
137 BrowserDistribution* distribution_; 141 BrowserDistribution* distribution_;
138 scoped_ptr<ProductOperations> operations_; 142 scoped_ptr<ProductOperations> operations_;
139 std::set<std::wstring> options_; 143 std::set<std::wstring> options_;
140 144
141 private: 145 private:
142 DISALLOW_COPY_AND_ASSIGN(Product); 146 DISALLOW_COPY_AND_ASSIGN(Product);
143 }; 147 };
144 148
145 } // namespace installer 149 } // namespace installer
146 150
147 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_ 151 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698