#ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_OPERATIONS_H_
#define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_OPERATIONS_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/installer/util/product_operations.h"
namespace installer {
class ChromeAppHostOperations : public ProductOperations {
public:
ChromeAppHostOperations() {}
virtual void ReadOptions(const MasterPreferences& prefs,
std::set<base::string16>* options) const OVERRIDE;
virtual void ReadOptions(const base::CommandLine& uninstall_command,
std::set<base::string16>* options) const OVERRIDE;
virtual void AddKeyFiles(
const std::set<base::string16>& options,
std::vector<base::FilePath>* key_files) const OVERRIDE;
virtual void AddComDllList(
const std::set<base::string16>& options,
std::vector<base::FilePath>* com_dll_list) const OVERRIDE;
virtual void AppendProductFlags(const std::set<base::string16>& options,
base::CommandLine* cmd_line) const OVERRIDE;
virtual void AppendRenameFlags(const std::set<base::string16>& options,
base::CommandLine* cmd_line) const OVERRIDE;
virtual bool SetChannelFlags(const std::set<base::string16>& options,
bool set,
ChannelInfo* channel_info) const OVERRIDE;
virtual bool ShouldCreateUninstallEntry(
const std::set<base::string16>& options) const OVERRIDE;
virtual void AddDefaultShortcutProperties(
BrowserDistribution* dist,
const base::FilePath& target_exe,
ShellUtil::ShortcutProperties* properties) const OVERRIDE;
virtual void LaunchUserExperiment(const base::FilePath& setup_path,
const std::set<base::string16>& options,
InstallStatus status,
bool system_level) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeAppHostOperations);
};
}
#endif