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

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: review Created 7 years, 2 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/testing_profile.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 "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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 1010
1011 // List of native messaging hosts outside of the default location. Used for 1011 // List of native messaging hosts outside of the default location. Used for
1012 // tests. The value must be comma-separate lists of key-value pairs separated 1012 // tests. The value must be comma-separate lists of key-value pairs separated
1013 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json". 1013 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
1014 const char kNativeMessagingHosts[] = "native-messaging-hosts"; 1014 const char kNativeMessagingHosts[] = "native-messaging-hosts";
1015 1015
1016 // Sets the base logging level for the net log. Log 0 logs the most data. 1016 // Sets the base logging level for the net log. Log 0 logs the most data.
1017 // Intended primarily for use with --log-net-log. 1017 // Intended primarily for use with --log-net-log.
1018 const char kNetLogLevel[] = "net-log-level"; 1018 const char kNetLogLevel[] = "net-log-level";
1019 1019
1020 // Marks a newly created profile as a supervised profile. Used for tests.
1021 const char kNewProfileIsSupervised[] = "new-profile-is-supervised";
1022
1020 // Use new profile management system, including profile sign-out and new 1023 // Use new profile management system, including profile sign-out and new
1021 // choosers. 1024 // choosers.
1022 const char kNewProfileManagement[] = "new-profile-management"; 1025 const char kNewProfileManagement[] = "new-profile-management";
1023 1026
1024 // Disables the default browser check. Useful for UI/browser tests where we 1027 // Disables the default browser check. Useful for UI/browser tests where we
1025 // want to avoid having the default browser info-bar displayed. 1028 // want to avoid having the default browser info-bar displayed.
1026 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 1029 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
1027 1030
1028 // By default, an https page can load images, fonts or frames from an http 1031 // By default, an https page can load images, fonts or frames from an http
1029 // page. This switch overrides this to block this lesser mixed-content problem. 1032 // page. This switch overrides this to block this lesser mixed-content problem.
1030 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; 1033 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content";
1031 1034
1032 // Don't record/playback events when using record & playback. 1035 // Don't record/playback events when using record & playback.
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 1677
1675 // ----------------------------------------------------------------------------- 1678 // -----------------------------------------------------------------------------
1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1679 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1677 // 1680 //
1678 // You were going to just dump your switches here, weren't you? Instead, please 1681 // You were going to just dump your switches here, weren't you? Instead, please
1679 // put them in alphabetical order above, or in order inside the appropriate 1682 // put them in alphabetical order above, or in order inside the appropriate
1680 // ifdef at the bottom. The order should match the header. 1683 // ifdef at the bottom. The order should match the header.
1681 // ----------------------------------------------------------------------------- 1684 // -----------------------------------------------------------------------------
1682 1685
1683 } // namespace switches 1686 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698