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

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: Update after review 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 // TODO(rsorokin): alphabetize all of these switches so they
10 // match the order from the .h file
11
9 namespace chromeos { 12 namespace chromeos {
10 namespace switches { 13 namespace switches {
11 14
12 // Path for app's OEM manifest file. 15 // Path for app's OEM manifest file.
13 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; 16 const char kAppOemManifestFile[] = "app-mode-oem-manifest";
14 17
15 // When wallpaper boot animation is not disabled this switch 18 // When wallpaper boot animation is not disabled this switch
16 // is used to override OOBE/sign in WebUI init type. 19 // is used to override OOBE/sign in WebUI init type.
17 // Possible values: parallel|postpone. Default: parallel. 20 // Possible values: parallel|postpone. Default: parallel.
18 const char kAshWebUIInit[] = "ash-webui-init"; 21 const char kAshWebUIInit[] = "ash-webui-init";
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Enables testing for auto update UI. 277 // Enables testing for auto update UI.
275 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; 278 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
276 279
277 // Disable memory pressure checks on ChromeOS. 280 // Disable memory pressure checks on ChromeOS.
278 const char kDisableMemoryPressureSystemChromeOS[] = 281 const char kDisableMemoryPressureSystemChromeOS[] =
279 "disable-memory-pressure-chromeos"; 282 "disable-memory-pressure-chromeos";
280 283
281 // Enables waking the device based on the receipt of some network packets. 284 // Enables waking the device based on the receipt of some network packets.
282 const char kWakeOnPackets[] = "wake-on-packets"; 285 const char kWakeOnPackets[] = "wake-on-packets";
283 286
287 // Specifies the path for GAIA endpoint. The default value is
288 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide".
289 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos";
290
284 // Screenshot testing: specifies the directory where the golden screenshots are 291 // Screenshot testing: specifies the directory where the golden screenshots are
285 // stored. 292 // stored.
286 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir"; 293 const char kGoldenScreenshotsDir[] = "golden-screenshots-dir";
287 294
288 // Screenshot testing: specifies the directoru where artifacts will be stored. 295 // Screenshot testing: specifies the directoru where artifacts will be stored.
289 const char kArtifactsDir[] = "artifacts-dir"; 296 const char kArtifactsDir[] = "artifacts-dir";
290 297
291 // Bypass proxy for captive portal authorization. 298 // Bypass proxy for captive portal authorization.
292 const char kEnableCaptivePortalBypassProxy[] = 299 const char kEnableCaptivePortalBypassProxy[] =
293 "enable-captive-portal-bypass-proxy"; 300 "enable-captive-portal-bypass-proxy";
(...skipping 20 matching lines...) Expand all
314 } 321 }
315 if (option == "3") { 322 if (option == "3") {
316 return base::MemoryPressureObserverChromeOS:: 323 return base::MemoryPressureObserverChromeOS::
317 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 324 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
318 } 325 }
319 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 326 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
320 } 327 }
321 328
322 } // namespace switches 329 } // namespace switches
323 } // namespace chromeos 330 } // 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