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

Side by Side Diff: chrome/installer/util/chrome_frame_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_FRAME_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_
7 #pragma once
8
9 #include <set>
10 #include <string>
11 #include <vector>
12
13 #include "base/basictypes.h"
14 #include "base/file_path.h"
15 #include "base/compiler_specific.h"
16 #include "chrome/installer/util/product_operations.h"
17
18 namespace installer {
19
20 // Operations specific to Chrome Frame; see ProductOperations for general info.
21 class ChromeFrameOperations : public ProductOperations {
22 public:
23 ChromeFrameOperations() {}
24
25 virtual void ReadOptions(const MasterPreferences& prefs,
26 std::set<std::wstring>* options) const OVERRIDE;
27
28 virtual void ReadOptions(const CommandLine& uninstall_command,
29 std::set<std::wstring>* options) const OVERRIDE;
30
31 virtual void AddKeyFiles(const std::set<std::wstring>& options,
32 std::vector<FilePath>* key_files) const OVERRIDE;
33
34 virtual void AddComDllList(
35 const std::set<std::wstring>& options,
36 std::vector<FilePath>* com_dll_list) const OVERRIDE;
37
38 virtual void AppendProductFlags(
39 const std::set<std::wstring>& options,
40 CommandLine* uninstall_command) const OVERRIDE;
41
42 virtual bool SetChannelFlags(const std::set<std::wstring>& options,
43 bool set,
44 ChannelInfo* channel_info) const OVERRIDE;
45
46 virtual bool ShouldCreateUninstallEntry(
47 const std::set<std::wstring>& options) const OVERRIDE;
48
49 protected:
50 void NormalizeOptions(std::set<std::wstring>* options) const;
51
52 private:
53 DISALLOW_COPY_AND_ASSIGN(ChromeFrameOperations);
54 };
55
56 } // namespace installer
57
58 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698