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

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 class ChromeBrowserOperations : public ProductOperations {
robertshield 2011/01/20 23:36:34 Perhaps a comment referring the reader to ProductO
grt (UTC plus 2) 2011/01/21 05:27:51 Done.
20 public:
21 ChromeBrowserOperations() {}
22
23 virtual void ReadOptions(const MasterPreferences& prefs,
24 std::set<std::wstring>* options) OVERRIDE;
25
26 virtual void ReadOptions(const CommandLine& uninstall_command,
27 std::set<std::wstring>* options) OVERRIDE;
28
29 virtual void AddKeyFiles(const std::set<std::wstring>& options,
30 std::vector<FilePath>* key_files) OVERRIDE;
31
32 virtual void AddComDllList(const std::set<std::wstring>& options,
33 std::vector<FilePath>* com_dll_list) OVERRIDE;
34
35 virtual void AppendProductFlags(
36 const std::set<std::wstring>& options,
37 CommandLine* uninstall_command) OVERRIDE;
38
39 virtual bool SetChannelFlags(const std::set<std::wstring>& options,
40 bool set,
41 ChannelInfo* channel_info) const OVERRIDE;
42
43 virtual bool ShouldCreateUninstallEntry(
44 const std::set<std::wstring>& options) const OVERRIDE;
45
46 private:
47 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations);
48 };
49
50 } // namespace installer
51
52 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698