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

Unified Diff: trunk/src/chrome/browser/chromeos/preferences.cc

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
Index: trunk/src/chrome/browser/chromeos/preferences.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/preferences.cc (revision 192508)
+++ trunk/src/chrome/browser/chromeos/preferences.cc (working copy)
@@ -31,7 +31,6 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
-#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_policy_controller.h"
#include "chromeos/ime/xkeyboard.h"
@@ -97,7 +96,7 @@
registry->RegisterBooleanPref(
prefs::kNaturalScroll,
CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kNaturalScrollDefault),
+ switches::kNaturalScrollDefault),
PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(prefs::kPrimaryMouseButtonRight,
false,
@@ -792,7 +791,7 @@
void Preferences::ForceNaturalScrollDefault() {
DVLOG(1) << "ForceNaturalScrollDefault";
if (CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kNaturalScrollDefault) &&
+ switches::kNaturalScrollDefault) &&
prefs_->IsSyncing() &&
!prefs_->GetUserPrefValue(prefs::kNaturalScroll)) {
DVLOG(1) << "Natural scroll forced to true";

Powered by Google App Engine
This is Rietveld 408576698