Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 878913003: Added flag gaia-endpoint for testing with different flows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move switch to chromeos switches Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 8
9 namespace chromeos { 9 namespace chromeos {
10 namespace switches { 10 namespace switches {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Enables testing for auto update UI. 274 // Enables testing for auto update UI.
275 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; 275 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
276 276
277 // Disable memory pressure checks on ChromeOS. 277 // Disable memory pressure checks on ChromeOS.
278 const char kDisableMemoryPressureSystemChromeOS[] = 278 const char kDisableMemoryPressureSystemChromeOS[] =
279 "disable-memory-pressure-chromeos"; 279 "disable-memory-pressure-chromeos";
280 280
281 // Enables waking the device based on the receipt of some network packets. 281 // Enables waking the device based on the receipt of some network packets.
282 const char kWakeOnPackets[] = "wake-on-packets"; 282 const char kWakeOnPackets[] = "wake-on-packets";
283 283
284 // Specifies the path for GAIA endpoint. The default value is
285 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide".
286 const char kGaiaEndpoint[] = "gaia-endpoint";
Daniel Erat 2015/01/29 13:15:54 nit: mind adding a TODO to alphabetize all of thes
Dmitry Polukhin 2015/01/29 13:27:07 Please rename it to gaia-endpoint-chromeos to stre
Roman Sorokin (ftl) 2015/01/29 13:39:36 Done.
Roman Sorokin (ftl) 2015/01/29 13:39:36 Done.
287
284 // Screenshot testing: specifies the directory where the golden screenshots are 288 // Screenshot testing: specifies the directory where the golden screenshots are
285 // stored. 289 // stored.
286 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir"; 290 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir";
287 291
288 // Screenshot testing: specifies the directoru where artifacts will be stored. 292 // Screenshot testing: specifies the directoru where artifacts will be stored.
289 const char kArtifactsDir[] = "artifacts-dir"; 293 const char kArtifactsDir[] = "artifacts-dir";
290 294
291 // Bypass proxy for captive portal authorization. 295 // Bypass proxy for captive portal authorization.
292 const char kEnableCaptivePortalBypassProxy[] = 296 const char kEnableCaptivePortalBypassProxy[] =
293 "enable-captive-portal-bypass-proxy"; 297 "enable-captive-portal-bypass-proxy";
(...skipping 20 matching lines...) Expand all
314 } 318 }
315 if (option == "3") { 319 if (option == "3") {
316 return base::MemoryPressureObserverChromeOS:: 320 return base::MemoryPressureObserverChromeOS::
317 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 321 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
318 } 322 }
319 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 323 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
320 } 324 }
321 325
322 } // namespace switches 326 } // namespace switches
323 } // namespace chromeos 327 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698