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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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
Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
index 09e4bcffe44bdd0f95897038adc0ff43ce620ac8..8867918d6f60d6b5ef4225ed4a2e290c307cf6e0 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -276,7 +276,8 @@ ChromeBrowserMainPartsChromeos::~ChromeBrowserMainPartsChromeos() {
// content::BrowserMainParts and ChromeBrowserMainExtraParts overrides ---------
void ChromeBrowserMainPartsChromeos::PreEarlyInitialization() {
- CommandLine* singleton_command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* singleton_command_line =
+ base::CommandLine::ForCurrentProcess();
if (parsed_command_line().HasSwitch(switches::kGuestSession)) {
// Disable sync and extensions if we're in "browse without sign-in" mode.
@@ -594,7 +595,8 @@ void ChromeBrowserMainPartsChromeos::PostProfileInit() {
renderer_freezer_.reset(
new RendererFreezer(scoped_ptr<RendererFreezer::Delegate>(
new FreezerCgroupProcessManager())));
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kWakeOnPackets))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kWakeOnPackets))
light_bar_.reset(new LightBar());
g_browser_process->platform_part()->InitializeAutomaticRebootManager();
@@ -644,7 +646,7 @@ void ChromeBrowserMainPartsChromeos::PreBrowserStart() {
g_browser_process->platform_part()->oom_priority_manager()->Start();
if (ui::ShouldDefaultToNaturalScroll()) {
- CommandLine::ForCurrentProcess()->AppendSwitch(
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
chromeos::switches::kNaturalScrollDefault);
system::InputDeviceSettings::Get()->SetTapToClick(true);
}

Powered by Google App Engine
This is Rietveld 408576698