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

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

Issue 7005019: Put SxS switches back into the rename command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/installer/util/product.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // this function does not return a full path to the key file(s), only (a) file 44 // this function does not return a full path to the key file(s), only (a) file
45 // name(s). 45 // name(s).
46 virtual void AddKeyFiles(const std::set<std::wstring>& options, 46 virtual void AddKeyFiles(const std::set<std::wstring>& options,
47 std::vector<FilePath>* key_files) const = 0; 47 std::vector<FilePath>* key_files) const = 0;
48 48
49 // Adds to |com_dll_list| the list of COM DLLs that are to be registered 49 // Adds to |com_dll_list| the list of COM DLLs that are to be registered
50 // and/or unregistered. The list may be empty. 50 // and/or unregistered. The list may be empty.
51 virtual void AddComDllList(const std::set<std::wstring>& options, 51 virtual void AddComDllList(const std::set<std::wstring>& options,
52 std::vector<FilePath>* com_dll_list) const = 0; 52 std::vector<FilePath>* com_dll_list) const = 0;
53 53
54 // Given a command line, appends the set of uninstall flags the uninstaller 54 // Given a command line, appends the set of product-specific uninstall flags.
55 // for this product will require. 55 virtual void AppendUninstallFlags(const std::set<std::wstring>& options,
56 virtual void AppendProductFlags(const std::set<std::wstring>& options, 56 CommandLine* cmd_line) const = 0;
57 CommandLine* uninstall_command) const = 0; 57
58 // Given a command line, appends the set of product-specific rename flags.
59 virtual void AppendRenameFlags(const std::set<std::wstring>& options,
60 CommandLine* cmd_line) const = 0;
58 61
59 // Adds or removes product-specific flags in |channel_info|. Returns true if 62 // Adds or removes product-specific flags in |channel_info|. Returns true if
60 // |channel_info| is modified. 63 // |channel_info| is modified.
61 virtual bool SetChannelFlags(const std::set<std::wstring>& options, 64 virtual bool SetChannelFlags(const std::set<std::wstring>& options,
62 bool set, 65 bool set,
63 ChannelInfo* channel_info) const = 0; 66 ChannelInfo* channel_info) const = 0;
64 67
65 // Returns true if setup should create an entry in the Add/Remove list 68 // Returns true if setup should create an entry in the Add/Remove list
66 // of installed applications for this product. This does not test for use of 69 // of installed applications for this product. This does not test for use of
67 // MSI; see InstallerState::is_msi. 70 // MSI; see InstallerState::is_msi.
68 virtual bool ShouldCreateUninstallEntry( 71 virtual bool ShouldCreateUninstallEntry(
69 const std::set<std::wstring>& options) const = 0; 72 const std::set<std::wstring>& options) const = 0;
70 }; 73 };
71 74
72 } // namespace installer 75 } // namespace installer
73 76
74 #endif // CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_ 77 #endif // CHROME_INSTALLER_UTIL_PRODUCT_OPERATIONS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/product.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698