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

Side by Side Diff: chrome/installer/util/product_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
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_OPERATIONS_H_ 5 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_ 6 #define CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Given a command line, appends the set of product-specific rename flags. 61 // Given a command line, appends the set of product-specific rename flags.
62 virtual void AppendRenameFlags(const std::set<base::string16>& options, 62 virtual void AppendRenameFlags(const std::set<base::string16>& options,
63 base::CommandLine* cmd_line) const = 0; 63 base::CommandLine* cmd_line) const = 0;
64 64
65 // Adds or removes product-specific flags in |channel_info|. Returns true if 65 // Adds or removes product-specific flags in |channel_info|. Returns true if
66 // |channel_info| is modified. 66 // |channel_info| is modified.
67 virtual bool SetChannelFlags(const std::set<base::string16>& options, 67 virtual bool SetChannelFlags(const std::set<base::string16>& options,
68 bool set, 68 bool set,
69 ChannelInfo* channel_info) const = 0; 69 ChannelInfo* channel_info) const = 0;
70 70
71 // Returns true if setup should create an entry in the Add/Remove list
72 // of installed applications for this product. This does not test for use of
73 // MSI; see InstallerState::is_msi.
74 virtual bool ShouldCreateUninstallEntry(
75 const std::set<base::string16>& options) const = 0;
76
77 // Modifies a ShellUtil::ShortcutProperties object by assigning default values 71 // Modifies a ShellUtil::ShortcutProperties object by assigning default values
78 // to unintialized members. 72 // to unintialized members.
79 virtual void AddDefaultShortcutProperties( 73 virtual void AddDefaultShortcutProperties(
80 BrowserDistribution* dist, 74 BrowserDistribution* dist,
81 const base::FilePath& target_exe, 75 const base::FilePath& target_exe,
82 ShellUtil::ShortcutProperties* properties) const = 0; 76 ShellUtil::ShortcutProperties* properties) const = 0;
83 77
84 // After an install or upgrade the user might qualify to participate in an 78 // After an install or upgrade the user might qualify to participate in an
85 // experiment. This function determines if the user qualifies and if so it 79 // experiment. This function determines if the user qualifies and if so it
86 // sets the wheels in motion or in simple cases does the experiment itself. 80 // sets the wheels in motion or in simple cases does the experiment itself.
87 virtual void LaunchUserExperiment(const base::FilePath& setup_path, 81 virtual void LaunchUserExperiment(const base::FilePath& setup_path,
88 const std::set<base::string16>& options, 82 const std::set<base::string16>& options,
89 InstallStatus status, 83 InstallStatus status,
90 bool system_level) const = 0; 84 bool system_level) const = 0;
91 }; 85 };
92 86
93 } // namespace installer 87 } // namespace installer
94 88
95 #endif // CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_ 89 #endif // CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_
OLDNEW
« chrome/installer/util/product.h ('K') | « chrome/installer/util/product.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698