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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 23868042: Mark supervised profiles as such immediately when they're created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 | Annotate | Revision Log
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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 982
983 // List of native messaging hosts outside of the default location. Used for 983 // List of native messaging hosts outside of the default location. Used for
984 // tests. The value must be comma-separate lists of key-value pairs separated 984 // tests. The value must be comma-separate lists of key-value pairs separated
985 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json". 985 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
986 const char kNativeMessagingHosts[] = "native-messaging-hosts"; 986 const char kNativeMessagingHosts[] = "native-messaging-hosts";
987 987
988 // Sets the base logging level for the net log. Log 0 logs the most data. 988 // Sets the base logging level for the net log. Log 0 logs the most data.
989 // Intended primarily for use with --log-net-log. 989 // Intended primarily for use with --log-net-log.
990 const char kNetLogLevel[] = "net-log-level"; 990 const char kNetLogLevel[] = "net-log-level";
991 991
992 // Marks a newly created profile as a supervised profile. Used for tests.
993 const char kNewProfileIsSupervised[] = "new-profile-is-supervised";
994
992 // Use new profile management system, including profile sign-out and new 995 // Use new profile management system, including profile sign-out and new
993 // choosers. 996 // choosers.
994 const char kNewProfileManagement[] = "new-profile-management"; 997 const char kNewProfileManagement[] = "new-profile-management";
995 998
996 // Disables the default browser check. Useful for UI/browser tests where we 999 // Disables the default browser check. Useful for UI/browser tests where we
997 // want to avoid having the default browser info-bar displayed. 1000 // want to avoid having the default browser info-bar displayed.
998 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 1001 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
999 1002
1000 // By default, an https page can load images, fonts or frames from an http 1003 // By default, an https page can load images, fonts or frames from an http
1001 // page. This switch overrides this to block this lesser mixed-content problem. 1004 // page. This switch overrides this to block this lesser mixed-content problem.
1002 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; 1005 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content";
1003 1006
1004 // Don't record/playback events when using record & playback. 1007 // Don't record/playback events when using record & playback.
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 1644
1642 // ----------------------------------------------------------------------------- 1645 // -----------------------------------------------------------------------------
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1646 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1644 // 1647 //
1645 // You were going to just dump your switches here, weren't you? Instead, please 1648 // You were going to just dump your switches here, weren't you? Instead, please
1646 // put them in alphabetical order above, or in order inside the appropriate 1649 // put them in alphabetical order above, or in order inside the appropriate
1647 // ifdef at the bottom. The order should match the header. 1650 // ifdef at the bottom. The order should match the header.
1648 // ----------------------------------------------------------------------------- 1651 // -----------------------------------------------------------------------------
1649 1652
1650 } // namespace switches 1653 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698