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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 818433003: ChromeOS: Implement CaptivePortalAuthenticationIgnoresProxy policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests fixed. 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos"; 308 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos";
309 309
310 // Screenshot testing: specifies the directory where the golden screenshots are 310 // Screenshot testing: specifies the directory where the golden screenshots are
311 // stored. 311 // stored.
312 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir"; 312 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir";
313 313
314 // Screenshot testing: specifies the directoru where artifacts will be stored. 314 // Screenshot testing: specifies the directoru where artifacts will be stored.
315 const char kArtifactsDir[] = "artifacts-dir"; 315 const char kArtifactsDir[] = "artifacts-dir";
316 316
317 // Bypass proxy for captive portal authorization. 317 // Bypass proxy for captive portal authorization.
318 const char kEnableCaptivePortalBypassProxy[] = 318 const char kEnableCaptivePortalBypassProxyOption[] =
319 "enable-captive-portal-bypass-proxy"; 319 "enable-captive-portal-bypass-proxy-option";
320 320
321 // Disable automatic timezone update. 321 // Disable automatic timezone update.
322 const char kDisableTimeZoneTrackingOption[] = 322 const char kDisableTimeZoneTrackingOption[] =
323 "disable-timezone-tracking-option"; 323 "disable-timezone-tracking-option";
324 324
325 bool WakeOnWifiEnabled() { 325 bool WakeOnWifiEnabled() {
326 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); 326 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
327 } 327 }
328 328
329 bool MemoryPressureHandlingEnabled() { 329 bool MemoryPressureHandlingEnabled() {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 return base::MemoryPressureObserverChromeOS:: 366 return base::MemoryPressureObserverChromeOS::
367 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 367 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
368 if (option == kAggressiveThreshold) 368 if (option == kAggressiveThreshold)
369 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 369 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
370 370
371 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; 371 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT;
372 } 372 }
373 373
374 } // namespace switches 374 } // namespace switches
375 } // namespace chromeos 375 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | chromeos/network/portal_detector/network_portal_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698