OLD | NEW |
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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 const char kArtifactsDir[] = "artifacts-dir"; | 323 const char kArtifactsDir[] = "artifacts-dir"; |
324 | 324 |
325 // Disable bypass proxy for captive portal authorization. | 325 // Disable bypass proxy for captive portal authorization. |
326 const char kDisableCaptivePortalBypassProxy[] = | 326 const char kDisableCaptivePortalBypassProxy[] = |
327 "disable-captive-portal-bypass-proxy"; | 327 "disable-captive-portal-bypass-proxy"; |
328 | 328 |
329 // Disable automatic timezone update. | 329 // Disable automatic timezone update. |
330 const char kDisableTimeZoneTrackingOption[] = | 330 const char kDisableTimeZoneTrackingOption[] = |
331 "disable-timezone-tracking-option"; | 331 "disable-timezone-tracking-option"; |
332 | 332 |
333 // Enable OAuth token validation on sign in screen. | |
334 const char kEnableOAuthTokenHandlers[] = "enable-oauth-token-handlers"; | |
335 | |
336 // Disable new GAIA sign-in flow. | 333 // Disable new GAIA sign-in flow. |
337 const char kDisableWebviewSigninFlow[] = "disable-webview-signin-flow"; | 334 const char kDisableWebviewSigninFlow[] = "disable-webview-signin-flow"; |
338 | 335 |
339 // Enable Chrome OS firewall hole-punching for Chrome Apps. | 336 // Enable Chrome OS firewall hole-punching for Chrome Apps. |
340 const char kEnableFirewallHolePunching[] = "enable-firewall-hole-punching"; | 337 const char kEnableFirewallHolePunching[] = "enable-firewall-hole-punching"; |
341 | 338 |
342 // Enables searching for an app that supports a plugged in USB printer. When a | 339 // Enables searching for an app that supports a plugged in USB printer. When a |
343 // user plugs in USB printer, they are shown a notification offering to search | 340 // user plugs in USB printer, they are shown a notification offering to search |
344 // Chroem Web Store for an app that has printerProvider permission and can | 341 // Chroem Web Store for an app that has printerProvider permission and can |
345 // handle the plugged in printer. | 342 // handle the plugged in printer. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 return base::MemoryPressureObserverChromeOS:: | 386 return base::MemoryPressureObserverChromeOS:: |
390 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 387 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
391 if (option == kAggressiveThreshold) | 388 if (option == kAggressiveThreshold) |
392 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 389 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
393 | 390 |
394 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; | 391 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; |
395 } | 392 } |
396 | 393 |
397 } // namespace switches | 394 } // namespace switches |
398 } // namespace chromeos | 395 } // namespace chromeos |
OLD | NEW |