| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // With this switch, start remora OOBE with the pairing screen. | 194 // With this switch, start remora OOBE with the pairing screen. |
| 195 const char kHostPairingOobe[] = "host-pairing-oobe"; | 195 const char kHostPairingOobe[] = "host-pairing-oobe"; |
| 196 | 196 |
| 197 // If true, profile selection in UserManager will always return active user's | 197 // If true, profile selection in UserManager will always return active user's |
| 198 // profile. | 198 // profile. |
| 199 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we | 199 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we |
| 200 // turn on multi-profile feature on ChromeOS. | 200 // turn on multi-profile feature on ChromeOS. |
| 201 const char kIgnoreUserProfileMappingForTests[] = | 201 const char kIgnoreUserProfileMappingForTests[] = |
| 202 "ignore-user-profile-mapping-for-tests"; | 202 "ignore-user-profile-mapping-for-tests"; |
| 203 | 203 |
| 204 // File to load internal display ICC file from. | |
| 205 const char kInternalDisplayColorProfileFile[] = | |
| 206 "internal-display-color-profile-file"; | |
| 207 | |
| 208 // Enables Chrome-as-a-login-manager behavior. | 204 // Enables Chrome-as-a-login-manager behavior. |
| 209 const char kLoginManager[] = "login-manager"; | 205 const char kLoginManager[] = "login-manager"; |
| 210 | 206 |
| 211 // Specifies the profile to use once a chromeos user is logged in. | 207 // Specifies the profile to use once a chromeos user is logged in. |
| 212 // This parameter is ignored if user goes through login screen since user_id | 208 // This parameter is ignored if user goes through login screen since user_id |
| 213 // hash defines which profile directory to use. | 209 // hash defines which profile directory to use. |
| 214 // In case of browser restart within active session this parameter is used | 210 // In case of browser restart within active session this parameter is used |
| 215 // to pass user_id hash for primary user. | 211 // to pass user_id hash for primary user. |
| 216 const char kLoginProfile[] = "login-profile"; | 212 const char kLoginProfile[] = "login-profile"; |
| 217 | 213 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 if (option == kAggressiveTabDiscardThreshold) | 360 if (option == kAggressiveTabDiscardThreshold) |
| 365 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 361 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 366 if (option == kAggressiveThreshold) | 362 if (option == kAggressiveThreshold) |
| 367 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE; | 363 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE; |
| 368 | 364 |
| 369 return MemoryPressureMonitor::THRESHOLD_DEFAULT; | 365 return MemoryPressureMonitor::THRESHOLD_DEFAULT; |
| 370 } | 366 } |
| 371 | 367 |
| 372 } // namespace switches | 368 } // namespace switches |
| 373 } // namespace chromeos | 369 } // namespace chromeos |
| OLD | NEW |