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