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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // With this switch, start remora OOBE with the pairing screen. | 213 // With this switch, start remora OOBE with the pairing screen. |
214 const char kHostPairingOobe[] = "host-pairing-oobe"; | 214 const char kHostPairingOobe[] = "host-pairing-oobe"; |
215 | 215 |
216 // If true, profile selection in UserManager will always return active user's | 216 // If true, profile selection in UserManager will always return active user's |
217 // profile. | 217 // profile. |
218 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we | 218 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we |
219 // turn on multi-profile feature on ChromeOS. | 219 // turn on multi-profile feature on ChromeOS. |
220 const char kIgnoreUserProfileMappingForTests[] = | 220 const char kIgnoreUserProfileMappingForTests[] = |
221 "ignore-user-profile-mapping-for-tests"; | 221 "ignore-user-profile-mapping-for-tests"; |
222 | 222 |
| 223 // File to load internal display ICC file from. |
| 224 const char kInternalDisplayColorProfileFile[] = |
| 225 "internal-display-color-profile-file"; |
| 226 |
223 // Enables Chrome-as-a-login-manager behavior. | 227 // Enables Chrome-as-a-login-manager behavior. |
224 const char kLoginManager[] = "login-manager"; | 228 const char kLoginManager[] = "login-manager"; |
225 | 229 |
226 // Specifies the profile to use once a chromeos user is logged in. | 230 // Specifies the profile to use once a chromeos user is logged in. |
227 // This parameter is ignored if user goes through login screen since user_id | 231 // This parameter is ignored if user goes through login screen since user_id |
228 // hash defines which profile directory to use. | 232 // hash defines which profile directory to use. |
229 // In case of browser restart within active session this parameter is used | 233 // In case of browser restart within active session this parameter is used |
230 // to pass user_id hash for primary user. | 234 // to pass user_id hash for primary user. |
231 const char kLoginProfile[] = "login-profile"; | 235 const char kLoginProfile[] = "login-profile"; |
232 | 236 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 return base::MemoryPressureMonitorChromeOS:: | 392 return base::MemoryPressureMonitorChromeOS:: |
389 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 393 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
390 if (option == kAggressiveThreshold) | 394 if (option == kAggressiveThreshold) |
391 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; | 395 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; |
392 | 396 |
393 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; | 397 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; |
394 } | 398 } |
395 | 399 |
396 } // namespace switches | 400 } // namespace switches |
397 } // namespace chromeos | 401 } // namespace chromeos |
OLD | NEW |