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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2725113002: Enable ARC kiosk mode always when ARC is available (Closed)
Patch Set: feedback2 Created 3 years, 9 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/browser/chromeos/arc/arc_util_unittest.cc ('k') | components/arc/arc_util.cc » ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const char kAppAutoLaunched[] = "app-auto-launched"; 61 const char kAppAutoLaunched[] = "app-auto-launched";
62 62
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 // - installed-only-kiosk-supported: ARC is installed, but officially supported
72 // only in kiosk mode.
73 // - officially-supported: ARC is installed and supported on this device. So 71 // - officially-supported: ARC is installed and supported on this device. So
74 // users can enable ARC via settings etc. 72 // users can enable ARC via settings etc.
75 // - officially-supported-with-active-directory: ARC is supported and also 73 // - officially-supported-with-active-directory: ARC is supported and also
76 // allowed to use with Active Directory management. 74 // allowed to use with Active Directory management.
77 const char kArcAvailability[] = "arc-availability"; 75 const char kArcAvailability[] = "arc-availability";
78 76
79 // DEPRECATED: Please use --arc-availability=installed. 77 // DEPRECATED: Please use --arc-availability=installed.
80 // Signals the availability of the ARC instance on this device. 78 // Signals the availability of the ARC instance on this device.
81 const char kArcAvailable[] = "arc-available"; 79 const char kArcAvailable[] = "arc-available";
82 80
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 501 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
504 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 502 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
505 return false; 503 return false;
506 504
507 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 505 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
508 kTestCrosGaiaIdMigrationStarted; 506 kTestCrosGaiaIdMigrationStarted;
509 } 507 }
510 508
511 } // namespace switches 509 } // namespace switches
512 } // namespace chromeos 510 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_util_unittest.cc ('k') | components/arc/arc_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698