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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Fix Luis's comments Created 3 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 | « chrome/test/BUILD.gn ('k') | components/arc/arc_util.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Path for app's OEM manifest file. 63 // Path for app's OEM manifest file.
64 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; 64 const char kAppOemManifestFile[] = "app-mode-oem-manifest";
65 65
66 // Signals ARC support status on this device. This can take one of the 66 // Signals ARC support status on this device. This can take one of the
67 // following three values. 67 // following three values.
68 // - none: ARC is not installed on this device. (default) 68 // - none: ARC is not installed on this device. (default)
69 // - installed: ARC is installed on this device, but not officially supported. 69 // - installed: ARC is installed on this device, but not officially supported.
70 // Users can enable ARC only when Finch experiment is turned on. 70 // Users can enable ARC only when Finch experiment is turned on.
71 // - officially-supported: ARC is installed and supported on this device. So 71 // - officially-supported: ARC is installed and supported on this device. So
72 // users can enable ARC via settings etc. 72 // users can enable ARC via settings etc.
73 // - officially-supported-with-active-directory: ARC is supported and also
74 // allowed to use with Active Directory management.
73 const char kArcAvailability[] = "arc-availability"; 75 const char kArcAvailability[] = "arc-availability";
74 76
75 // DEPRECATED: Please use --arc-availability=installed. 77 // DEPRECATED: Please use --arc-availability=installed.
76 // Signals the availability of the ARC instance on this device. 78 // Signals the availability of the ARC instance on this device.
77 const char kArcAvailable[] = "arc-available"; 79 const char kArcAvailable[] = "arc-available";
78 80
79 // Screenshot testing: specifies the directoru where artifacts will be stored. 81 // Screenshot testing: specifies the directoru where artifacts will be stored.
80 const char kArtifactsDir[] = "artifacts-dir"; 82 const char kArtifactsDir[] = "artifacts-dir";
81 83
82 // When wallpaper boot animation is not disabled this switch 84 // When wallpaper boot animation is not disabled this switch
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 494 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
493 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 495 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
494 return false; 496 return false;
495 497
496 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 498 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
497 kTestCrosGaiaIdMigrationStarted; 499 kTestCrosGaiaIdMigrationStarted;
498 } 500 }
499 501
500 } // namespace switches 502 } // namespace switches
501 } // namespace chromeos 503 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/arc/arc_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698