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.
5 // This file contains the specification of setup main functions.
7 #ifndef CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
8 #define CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
13 class InstallationState;
16 // Removes the ChromeFrameReadyMode flag from the registry, updates Chrome's
17 // uninstallation commands to only uninstall Chrome, and adds an entry to the
18 // Add/Remove Programs list for GCF.
19 InstallStatus ChromeFrameReadyModeOptIn(const InstallationState& machine_state,
20 const InstallerState& installer_state);
22 // Unregisters the ChromeFrame user agent modification, sets a timestamp for
24 InstallStatus ChromeFrameReadyModeTempOptOut(
25 const InstallationState& machine_state,
26 const InstallerState& installer_state);
28 // Re-registers the ChromeFrame user agent modification, restores Ready Mode
30 InstallStatus ChromeFrameReadyModeEndTempOptOut(
31 const InstallationState& machine_state,
32 const InstallerState& installer_state);
34 } // namespace installer
36 #endif // CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_