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

Side by Side Diff: chrome/installer/setup/chrome_frame_ready_mode.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, 10 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
« no previous file with comments | « chrome/common/chrome_paths_win.cc ('k') | chrome/installer/setup/chrome_frame_ready_mode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains the specification of setup main functions. 5 // This file contains the specification of setup main functions.
6 6
7 #ifndef CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_ 7 #ifndef CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
8 #define CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_ 8 #define CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
9 #pragma once 9 #pragma once
10 10
11 class CommandLine; 11 class CommandLine;
12 12
13 namespace installer { 13 namespace installer {
14 14
15 enum InstallStatus; 15 enum InstallStatus;
16 class InstallationState;
16 class InstallerState; 17 class InstallerState;
17 18
18 // Removes the ChromeFrameReadyMode flag from the registry, updates Chrome's 19 // Removes the ChromeFrameReadyMode flag from the registry, updates Chrome's
19 // uninstallation commands to only uninstall Chrome, and adds an entry to the 20 // uninstallation commands to only uninstall Chrome, and adds an entry to the
20 // Add/Remove Programs list for GCF. 21 // Add/Remove Programs list for GCF.
21 InstallStatus ChromeFrameReadyModeOptIn(const InstallerState& installer_state, 22 InstallStatus ChromeFrameReadyModeOptIn(const InstallationState& machine_state,
22 const CommandLine& cmd_line); 23 const InstallerState& installer_state);
23 24
24 // Unregisters the ChromeFrame user agent modification, sets a timestamp for 25 // Unregisters the ChromeFrame user agent modification, sets a timestamp for
25 // restoring it. 26 // restoring it.
26 InstallStatus ChromeFrameReadyModeTempOptOut(const CommandLine& cmd_line); 27 InstallStatus ChromeFrameReadyModeTempOptOut(
28 const InstallationState& machine_state,
29 const InstallerState& installer_state);
27 30
28 // Re-registers the ChromeFrame user agent modification, restores Ready Mode 31 // Re-registers the ChromeFrame user agent modification, restores Ready Mode
29 // active state flag. 32 // active state flag.
30 InstallStatus ChromeFrameReadyModeEndTempOptOut(const CommandLine& cmd_line); 33 InstallStatus ChromeFrameReadyModeEndTempOptOut(
34 const InstallationState& machine_state,
35 const InstallerState& installer_state);
31 36
32 } // namespace installer 37 } // namespace installer
33 38
34 #endif // CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_ 39 #endif // CHROME_INSTALLER_SETUP_CHROME_FRAME_READY_MODE_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths_win.cc ('k') | chrome/installer/setup/chrome_frame_ready_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698