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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2648263007: Add a flag to specify whether to show ARC Files app in launcher. (Closed)
Patch Set: Created 3 years, 11 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // 'wifi=on' - A wifi network is initially connected ('1' also works) 392 // 'wifi=on' - A wifi network is initially connected ('1' also works)
393 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) 393 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works)
394 // 'wifi=disabled' - Wifi is initially disabled 394 // 'wifi=disabled' - Wifi is initially disabled
395 // 'wifi=none' - Wifi is unavailable 395 // 'wifi=none' - Wifi is unavailable
396 // 'wifi=portal' - Wifi connection will be in Portal state 396 // 'wifi=portal' - Wifi connection will be in Portal state
397 // 'cellular=1' - Cellular is initially connected 397 // 'cellular=1' - Cellular is initially connected
398 // 'cellular=LTE' - Cellular is initially connected, technology is LTE 398 // 'cellular=LTE' - Cellular is initially connected, technology is LTE
399 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs 399 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs
400 const char kShillStub[] = "shill-stub"; 400 const char kShillStub[] = "shill-stub";
401 401
402 // Specifies whether we show ARC version of Files app in Chrome app launcher.
403 const char kShowArcFilesApp[] = "show-arc-files-app";
404
402 // Sends test messages on first call to RequestUpdate (stub only). 405 // Sends test messages on first call to RequestUpdate (stub only).
403 const char kSmsTestMessages[] = "sms-test-messages"; 406 const char kSmsTestMessages[] = "sms-test-messages";
404 407
405 // Indicates that a stub implementation of CrosSettings that stores settings in 408 // Indicates that a stub implementation of CrosSettings that stores settings in
406 // memory without signing should be used, treating current user as the owner. 409 // memory without signing should be used, treating current user as the owner.
407 // This also modifies OwnerSettingsServiceChromeOS::HandlesSetting such that no 410 // This also modifies OwnerSettingsServiceChromeOS::HandlesSetting such that no
408 // settings are handled by OwnerSettingsServiceChromeOS. 411 // settings are handled by OwnerSettingsServiceChromeOS.
409 // This option is for testing the chromeos build of chrome on the desktop only. 412 // This option is for testing the chromeos build of chrome on the desktop only.
410 const char kStubCrosSettings[] = "stub-cros-settings"; 413 const char kStubCrosSettings[] = "stub-cros-settings";
411 414
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 479 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
477 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 480 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
478 return false; 481 return false;
479 482
480 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 483 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
481 kTestCrosGaiaIdMigrationStarted; 484 kTestCrosGaiaIdMigrationStarted;
482 } 485 }
483 486
484 } // namespace switches 487 } // namespace switches
485 } // namespace chromeos 488 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698