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 | |
227 // Enables Chrome-as-a-login-manager behavior. | 223 // Enables Chrome-as-a-login-manager behavior. |
228 const char kLoginManager[] = "login-manager"; | 224 const char kLoginManager[] = "login-manager"; |
229 | 225 |
230 // Specifies the profile to use once a chromeos user is logged in. | 226 // Specifies the profile to use once a chromeos user is logged in. |
231 // This parameter is ignored if user goes through login screen since user_id | 227 // This parameter is ignored if user goes through login screen since user_id |
232 // hash defines which profile directory to use. | 228 // hash defines which profile directory to use. |
233 // In case of browser restart within active session this parameter is used | 229 // In case of browser restart within active session this parameter is used |
234 // to pass user_id hash for primary user. | 230 // to pass user_id hash for primary user. |
235 const char kLoginProfile[] = "login-profile"; | 231 const char kLoginProfile[] = "login-profile"; |
236 | 232 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 return base::MemoryPressureMonitorChromeOS:: | 388 return base::MemoryPressureMonitorChromeOS:: |
393 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 389 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
394 if (option == kAggressiveThreshold) | 390 if (option == kAggressiveThreshold) |
395 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; | 391 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; |
396 | 392 |
397 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; | 393 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; |
398 } | 394 } |
399 | 395 |
400 } // namespace switches | 396 } // namespace switches |
401 } // namespace chromeos | 397 } // namespace chromeos |
OLD | NEW |