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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2060623002: Implementation of Device End of Life Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify browsertest Created 4 years, 6 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
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Enables starting the ARC instance upon session start. 127 // Enables starting the ARC instance upon session start.
128 const char kEnableArc[] = "enable-arc"; 128 const char kEnableArc[] = "enable-arc";
129 129
130 // Enables consumer management, which allows user to enroll, remotely lock and 130 // Enables consumer management, which allows user to enroll, remotely lock and
131 // locate the device. 131 // locate the device.
132 const char kEnableConsumerManagement[] = "enable-consumer-management"; 132 const char kEnableConsumerManagement[] = "enable-consumer-management";
133 133
134 // Enables details panel in Files app. 134 // Enables details panel in Files app.
135 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel"; 135 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel";
136 136
137 // Enables notification when device is in end of life status.
138 const char kEnableEolNotification[] = "enable-eol-notification";
139
137 // If this switch is set, the device cannot be remotely disabled by its owner. 140 // If this switch is set, the device cannot be remotely disabled by its owner.
138 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 141 const char kDisableDeviceDisabling[] = "disable-device-disabling";
139 142
140 // If this switch is set, the new Korean IME will not be available in 143 // If this switch is set, the new Korean IME will not be available in
141 // chrome://settings/languages. 144 // chrome://settings/languages.
142 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; 145 const char kDisableNewKoreanIme[] = "disable-new-korean-ime";
143 146
144 // Disables mtp write support. 147 // Disables mtp write support.
145 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; 148 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support";
146 149
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 430 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
428 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 431 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
429 return false; 432 return false;
430 433
431 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 434 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
432 kTestCrosGaiaIdMigrationStarted; 435 kTestCrosGaiaIdMigrationStarted;
433 } 436 }
434 437
435 } // namespace switches 438 } // namespace switches
436 } // namespace chromeos 439 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698