blob: c0f2e2c35872863a8fb49569ab699c831500068f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file contains the specification of setup main functions.
#ifndef CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
#define CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
namespace installer {
enum InstallStatus;
class InstallationState;
class InstallerState;
// Removes the ChromeFrameReadyMode flag from the registry, updates Chrome's
// uninstallation commands to only uninstall Chrome, and adds an entry to the
// Add/Remove Programs list for GCF.
InstallStatus ChromeFrameReadyModeOptIn(const InstallationState& machine_state,
const InstallerState& installer_state);
// Unregisters the ChromeFrame user agent modification, sets a timestamp for
// restoring it.
InstallStatus ChromeFrameReadyModeTempOptOut(
const InstallationState& machine_state,
const InstallerState& installer_state);
// Re-registers the ChromeFrame user agent modification, restores Ready Mode
// active state flag.
InstallStatus ChromeFrameReadyModeEndTempOptOut(
const InstallationState& machine_state,
const InstallerState& installer_state);
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
|