| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 289 |
| 290 // Enables animated transitions during first-run tutorial. | 290 // Enables animated transitions during first-run tutorial. |
| 291 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 291 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
| 292 | 292 |
| 293 // Forces first-run UI to be shown for every login. | 293 // Forces first-run UI to be shown for every login. |
| 294 const char kForceFirstRunUI[] = "force-first-run-ui"; | 294 const char kForceFirstRunUI[] = "force-first-run-ui"; |
| 295 | 295 |
| 296 // Enables testing for auto update UI. | 296 // Enables testing for auto update UI. |
| 297 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; | 297 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; |
| 298 | 298 |
| 299 // Enables testing Metronome client with a periodic timer. |
| 300 const char kTestMetronomeTimer[] = "test-metronome-timer"; |
| 301 |
| 299 // Disable memory pressure checks on ChromeOS. | 302 // Disable memory pressure checks on ChromeOS. |
| 300 const char kDisableMemoryPressureSystemChromeOS[] = | 303 const char kDisableMemoryPressureSystemChromeOS[] = |
| 301 "disable-memory-pressure-chromeos"; | 304 "disable-memory-pressure-chromeos"; |
| 302 | 305 |
| 303 // Enables waking the device based on the receipt of some network packets. | 306 // Enables waking the device based on the receipt of some network packets. |
| 304 const char kWakeOnPackets[] = "wake-on-packets"; | 307 const char kWakeOnPackets[] = "wake-on-packets"; |
| 305 | 308 |
| 306 // Specifies the path for GAIA endpoint. The default value is | 309 // Specifies the path for GAIA endpoint. The default value is |
| 307 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide". | 310 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide". |
| 308 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos"; | 311 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos"; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 return base::MemoryPressureObserverChromeOS:: | 369 return base::MemoryPressureObserverChromeOS:: |
| 367 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 370 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 368 if (option == kAggressiveThreshold) | 371 if (option == kAggressiveThreshold) |
| 369 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 372 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
| 370 | 373 |
| 371 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; | 374 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; |
| 372 } | 375 } |
| 373 | 376 |
| 374 } // namespace switches | 377 } // namespace switches |
| 375 } // namespace chromeos | 378 } // namespace chromeos |
| OLD | NEW |