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

Side by Side Diff: chrome/installer/setup/install.h

Issue 10823437: Callback flow to register Chrome and update shortcuts after OS upgrade to Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reimplementing registry changes using AppCommand; adding checks in InstallationValidator. Created 8 years, 3 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 | « no previous file | chrome/installer/setup/install.cc » ('j') | chrome/installer/setup/install.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_INSTALL_H_ 7 #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_
8 #define CHROME_INSTALLER_SETUP_INSTALL_H_ 8 #define CHROME_INSTALLER_SETUP_INSTALL_H_
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/version.h" 13 #include "base/version.h"
14 #include "chrome/installer/util/installation_state.h" 14 #include "chrome/installer/util/installation_state.h"
15 #include "chrome/installer/util/installer_state.h" 15 #include "chrome/installer/util/installer_state.h"
16 #include "chrome/installer/util/master_preferences.h" 16 #include "chrome/installer/util/master_preferences.h"
17 #include "chrome/installer/util/product.h" 17 #include "chrome/installer/util/product.h"
18 #include "chrome/installer/util/util_constants.h" 18 #include "chrome/installer/util/util_constants.h"
19 19
20 class FilePath; 20 class FilePath;
21 class CommandLine;
21 22
22 namespace installer { 23 namespace installer {
23 24
24 class InstallationState; 25 class InstallationState;
25 class InstallerState; 26 class InstallerState;
26 class MasterPreferences; 27 class MasterPreferences;
27 28
28 // Escape |att_value| as per the XML AttValue production 29 // Escape |att_value| as per the XML AttValue production
29 // (http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue) for a value in 30 // (http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue) for a value in
30 // single quotes. 31 // single quotes.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 InstallStatus InstallOrUpdateProduct( 96 InstallStatus InstallOrUpdateProduct(
96 const InstallationState& original_state, 97 const InstallationState& original_state,
97 const InstallerState& installer_state, 98 const InstallerState& installer_state,
98 const FilePath& setup_path, 99 const FilePath& setup_path,
99 const FilePath& archive_path, 100 const FilePath& archive_path,
100 const FilePath& install_temp_path, 101 const FilePath& install_temp_path,
101 const FilePath& prefs_path, 102 const FilePath& prefs_path,
102 const installer::MasterPreferences& prefs, 103 const installer::MasterPreferences& prefs,
103 const Version& new_version); 104 const Version& new_version);
104 105
106 // Code that needs to executed right after OS upgrade, when user logs in.
gab 2012/08/28 16:08:19 This is not necessarily when the user logs in. For
huangs 2012/08/29 17:02:54 Done.
107 // This is invoked by the --on-os-upgrade switch (with --chrome).
108 InstallStatus ChromeBrowserOnOsUpgrade(const InstallationState& original_state,
gab 2012/08/28 16:08:19 Remove "ChromeBrowser" from the name of this funct
huangs 2012/08/29 17:02:54 Done. Also removed "(with --chrome)" in comment.
109 const InstallerState& installer_state,
110 const CommandLine& cmd_line);
111
105 } // namespace installer 112 } // namespace installer
106 113
107 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 114 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | chrome/installer/setup/install.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698