Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / installer / util / chrome_frame_operations.h
blob407890bdc4f00bf0fd4e8117e4fc9093699aca3a
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
3 // found in the LICENSE file.
5 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/installer/util/product_operations.h"
12 namespace installer {
14 // Operations specific to Chrome Frame; see ProductOperations for general info.
15 class ChromeFrameOperations : public ProductOperations {
16 public:
17 ChromeFrameOperations() {}
19 void ReadOptions(const MasterPreferences& prefs,
20 std::set<base::string16>* options) const override;
22 void ReadOptions(const base::CommandLine& uninstall_command,
23 std::set<base::string16>* options) const override;
25 void AddKeyFiles(const std::set<base::string16>& options,
26 std::vector<base::FilePath>* key_files) const override;
28 void AddComDllList(const std::set<base::string16>& options,
29 std::vector<base::FilePath>* com_dll_list) const override;
31 void AppendProductFlags(const std::set<base::string16>& options,
32 base::CommandLine* cmd_line) const override;
34 void AppendRenameFlags(const std::set<base::string16>& options,
35 base::CommandLine* cmd_line) const override;
37 bool SetChannelFlags(const std::set<base::string16>& options,
38 bool set,
39 ChannelInfo* channel_info) const override;
41 bool ShouldCreateUninstallEntry(
42 const std::set<base::string16>& options) const override;
44 void AddDefaultShortcutProperties(
45 BrowserDistribution* dist,
46 const base::FilePath& target_exe,
47 ShellUtil::ShortcutProperties* properties) const override;
49 void LaunchUserExperiment(const base::FilePath& setup_path,
50 const std::set<base::string16>& options,
51 InstallStatus status,
52 bool system_level) const override;
54 private:
55 DISALLOW_COPY_AND_ASSIGN(ChromeFrameOperations);
58 } // namespace installer
60 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_