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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2508713003: arc: Prepare ArcAuthEndpoint flag for finch experiment. (Closed)
Patch Set: fix rebase glitch Created 4 years, 1 month 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') | components/arc/arc_features.h » ('j') | 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 <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // in testing where we do want to go through the permission flow even in dev 54 // in testing where we do want to go through the permission flow even in dev
55 // mode. This can be enabled by this flag. 55 // mode. This can be enabled by this flag.
56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; 56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode";
57 57
58 // Path for app's OEM manifest file. 58 // Path for app's OEM manifest file.
59 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; 59 const char kAppOemManifestFile[] = "app-mode-oem-manifest";
60 60
61 // Signals the availability of the ARC instance on this device. 61 // Signals the availability of the ARC instance on this device.
62 const char kArcAvailable[] = "arc-available"; 62 const char kArcAvailable[] = "arc-available";
63 63
64 // Specifies ARC authorization endpoint to enable automatic sign-in in OptIn
65 // flow.
66 const char kArcUseAuthEndpoint[] = "arc-use-auth-endpoint";
67
68 // Screenshot testing: specifies the directoru where artifacts will be stored. 64 // Screenshot testing: specifies the directoru where artifacts will be stored.
69 const char kArtifactsDir[] = "artifacts-dir"; 65 const char kArtifactsDir[] = "artifacts-dir";
70 66
71 // When wallpaper boot animation is not disabled this switch 67 // When wallpaper boot animation is not disabled this switch
72 // is used to override OOBE/sign in WebUI init type. 68 // is used to override OOBE/sign in WebUI init type.
73 // Possible values: parallel|postpone. Default: parallel. 69 // Possible values: parallel|postpone. Default: parallel.
74 const char kAshWebUIInit[] = "ash-webui-init"; 70 const char kAshWebUIInit[] = "ash-webui-init";
75 71
76 // Default large wallpaper to use for kids accounts (as path to trusted, 72 // Default large wallpaper to use for kids accounts (as path to trusted,
77 // non-user-writable JPEG file). 73 // non-user-writable JPEG file).
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 471 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
476 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 472 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
477 return false; 473 return false;
478 474
479 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 475 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
480 kTestCrosGaiaIdMigrationStarted; 476 kTestCrosGaiaIdMigrationStarted;
481 } 477 }
482 478
483 } // namespace switches 479 } // namespace switches
484 } // namespace chromeos 480 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/arc/arc_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698