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

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

Issue 6288009: More installer refactoring in the interest of fixing some bugs and cleaning t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
7 #pragma once
8
9 #include <set>
10 #include <string>
11 #include <vector>
12
13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h"
15 #include "chrome/installer/util/product_operations.h"
16
17 namespace installer {
18
19 // Operations specific to Chrome; see ProductOperations for general info.
20 class ChromeBrowserOperations : public ProductOperations {
21 public:
22 ChromeBrowserOperations() {}
23
24 virtual void ReadOptions(const MasterPreferences& prefs,
25 std::set<std::wstring>* options) const OVERRIDE;
26
27 virtual void ReadOptions(const CommandLine& uninstall_command,
28 std::set<std::wstring>* options) const OVERRIDE;
29
30 virtual void AddKeyFiles(const std::set<std::wstring>& options,
31 std::vector<FilePath>* key_files) const OVERRIDE;
32
33 virtual void AddComDllList(
34 const std::set<std::wstring>& options,
35 std::vector<FilePath>* com_dll_list) const OVERRIDE;
36
37 virtual void AppendProductFlags(
38 const std::set<std::wstring>& options,
39 CommandLine* uninstall_command) const OVERRIDE;
40
41 virtual bool SetChannelFlags(const std::set<std::wstring>& options,
42 bool set,
43 ChannelInfo* channel_info) const OVERRIDE;
44
45 virtual bool ShouldCreateUninstallEntry(
46 const std::set<std::wstring>& options) const OVERRIDE;
47
48 private:
49 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations);
50 };
51
52 } // namespace installer
53
54 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/channel_info_unittest.cc ('k') | chrome/installer/util/chrome_browser_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698