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

Side by Side Diff: chrome/browser/first_run/upgrade_util_win.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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 #ifndef CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_ 5 #ifndef CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_
6 #define CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_ 6 #define CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_
7 7
8 namespace base {
8 class CommandLine; 9 class CommandLine;
10 }
9 11
10 namespace upgrade_util { 12 namespace upgrade_util {
11 13
12 // If the new_chrome.exe exists (placed by the installer then is swapped 14 // If the new_chrome.exe exists (placed by the installer then is swapped
13 // to chrome.exe and the old chrome is renamed to old_chrome.exe. If there 15 // to chrome.exe and the old chrome is renamed to old_chrome.exe. If there
14 // is no new_chrome.exe or the swap fails the return is false; 16 // is no new_chrome.exe or the swap fails the return is false;
15 bool SwapNewChromeExeIfPresent(); 17 bool SwapNewChromeExeIfPresent();
16 18
17 // Combines the two methods, RelaunchChromeBrowser and 19 // Combines the two methods, RelaunchChromeBrowser and
18 // SwapNewChromeExeIfPresent, to perform the rename and relaunch of 20 // SwapNewChromeExeIfPresent, to perform the rename and relaunch of
19 // the browser. Note that relaunch does NOT exit the existing browser process. 21 // the browser. Note that relaunch does NOT exit the existing browser process.
20 // If this is called before message loop is executed, simply exit the main 22 // If this is called before message loop is executed, simply exit the main
21 // function. If browser is already running, you will need to exit it. 23 // function. If browser is already running, you will need to exit it.
22 bool DoUpgradeTasks(const CommandLine& command_line); 24 bool DoUpgradeTasks(const base::CommandLine& command_line);
23 25
24 } // namespace upgrade_util 26 } // namespace upgrade_util
25 27
26 #endif // CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_ 28 #endif // CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/upgrade_util.h ('k') | chrome/browser/invalidation/invalidation_service_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698