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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1025663002: Implement oauth token external handler checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update fake user manager Created 5 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
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 #include "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 // TODO(rsorokin): alphabetize all of these switches so they 10 // TODO(rsorokin): alphabetize all of these switches so they
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 const char kArtifactsDir[] = "artifacts-dir"; 318 const char kArtifactsDir[] = "artifacts-dir";
319 319
320 // Bypass proxy for captive portal authorization. 320 // Bypass proxy for captive portal authorization.
321 const char kEnableCaptivePortalBypassProxyOption[] = 321 const char kEnableCaptivePortalBypassProxyOption[] =
322 "enable-captive-portal-bypass-proxy-option"; 322 "enable-captive-portal-bypass-proxy-option";
323 323
324 // Disable automatic timezone update. 324 // Disable automatic timezone update.
325 const char kDisableTimeZoneTrackingOption[] = 325 const char kDisableTimeZoneTrackingOption[] =
326 "disable-timezone-tracking-option"; 326 "disable-timezone-tracking-option";
327 327
328 // Enable OAuth token validation on sign in screen.
329 const char kEnableOAuthTokenHandlers[] = "enable-oauth-token-handlers";
330
328 // Disable new GAIA sign-in flow. 331 // Disable new GAIA sign-in flow.
329 const char kDisableWebviewSigninFlow[] = "disable-webview-signin-flow"; 332 const char kDisableWebviewSigninFlow[] = "disable-webview-signin-flow";
330 333
331 // Enable Chrome OS firewall hole-punching for Chrome Apps. 334 // Enable Chrome OS firewall hole-punching for Chrome Apps.
332 const char kEnableFirewallHolePunching[] = "enable-firewall-hole-punching"; 335 const char kEnableFirewallHolePunching[] = "enable-firewall-hole-punching";
333 336
334 bool WakeOnWifiEnabled() { 337 bool WakeOnWifiEnabled() {
335 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); 338 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
336 } 339 }
337 340
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 return base::MemoryPressureObserverChromeOS:: 378 return base::MemoryPressureObserverChromeOS::
376 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 379 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
377 if (option == kAggressiveThreshold) 380 if (option == kAggressiveThreshold)
378 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 381 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
379 382
380 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; 383 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT;
381 } 384 }
382 385
383 } // namespace switches 386 } // namespace switches
384 } // namespace chromeos 387 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698