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

Unified Diff: chrome/browser/first_run/upgrade_util.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run/first_run.h ('k') | chrome/browser/first_run/upgrade_util_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/upgrade_util.h
diff --git a/chrome/browser/first_run/upgrade_util.h b/chrome/browser/first_run/upgrade_util.h
index ec8a1ce9af0ba8c940c498de868f56d45bcbbd12..700b2b449306e3248c2fe9361d4f5e84282588ef 100644
--- a/chrome/browser/first_run/upgrade_util.h
+++ b/chrome/browser/first_run/upgrade_util.h
@@ -13,13 +13,15 @@
#if !defined(OS_CHROMEOS)
+namespace base {
class CommandLine;
+}
namespace upgrade_util {
// Launches Chrome again simulating a "user" launch. If Chrome could not be
// launched, returns false.
-bool RelaunchChromeBrowser(const CommandLine& command_line);
+bool RelaunchChromeBrowser(const base::CommandLine& command_line);
#if defined(OS_WIN)
@@ -40,14 +42,14 @@ RelaunchMode RelaunchModeStringToEnum(const std::string& relaunch_mode);
// Like RelaunchChromeBrowser() but for Windows 8 it will read pref and restart
// chrome accordingly in desktop or metro mode.
-bool RelaunchChromeWithMode(const CommandLine& command_line,
+bool RelaunchChromeWithMode(const base::CommandLine& command_line,
const RelaunchMode& relaunch_mode);
#endif
#if !defined(OS_MACOSX)
-void SetNewCommandLine(CommandLine* new_command_line);
+void SetNewCommandLine(base::CommandLine* new_command_line);
// Launches a new instance of the browser if the current instance in persistent
// mode an upgrade is detected.
« no previous file with comments | « chrome/browser/first_run/first_run.h ('k') | chrome/browser/first_run/upgrade_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698