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

Side by Side Diff: chrome/installer/util/chrome_binaries_operations.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "chrome/installer/util/product_operations.h"
11
12 namespace installer {
13
14 // Operations specific to the Chrome Binaries; see ProductOperations for general
15 // info.
16 class ChromeBinariesOperations : public ProductOperations {
17 public:
18 ChromeBinariesOperations() {}
19
20 void ReadOptions(const MasterPreferences& prefs,
21 std::set<base::string16>* options) const override;
22
23 void ReadOptions(const base::CommandLine& uninstall_command,
24 std::set<base::string16>* options) const override;
25
26 void AddKeyFiles(const std::set<base::string16>& options,
27 std::vector<base::FilePath>* key_files) const override;
28
29 void AppendProductFlags(const std::set<base::string16>& options,
30 base::CommandLine* cmd_line) const override;
31
32 void AppendRenameFlags(const std::set<base::string16>& options,
33 base::CommandLine* cmd_line) const override;
34
35 bool SetChannelFlags(const std::set<base::string16>& options,
36 bool set,
37 ChannelInfo* channel_info) const override;
38
39 bool ShouldCreateUninstallEntry(
40 const std::set<base::string16>& options) const override;
41
42 void AddDefaultShortcutProperties(
43 BrowserDistribution* dist,
44 const base::FilePath& target_exe,
45 ShellUtil::ShortcutProperties* properties) const override;
46
47 void LaunchUserExperiment(const base::FilePath& setup_path,
48 const std::set<base::string16>& options,
49 InstallStatus status,
50 bool system_level) const override;
51
52 private:
53 DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations);
54 };
55
56 } // namespace installer
57
58 #endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698