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

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

Issue 13778004: Start in elevated mode when creating a new managed user profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | 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/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 18 matching lines...) Expand all
29 29
30 // A boolean specifying whether the New Tab page is the home page or not. 30 // A boolean specifying whether the New Tab page is the home page or not.
31 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; 31 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
32 32
33 // This is the URL of the page to load when opening new tabs. 33 // This is the URL of the page to load when opening new tabs.
34 const char kHomePage[] = "homepage"; 34 const char kHomePage[] = "homepage";
35 35
36 // Did the user change the home page after install? 36 // Did the user change the home page after install?
37 const char kHomePageChanged[] = "homepage_changed"; 37 const char kHomePageChanged[] = "homepage_changed";
38 38
39 // Used to determine if the initial setup dialog has already been shown to the
40 // custodian of the managed user.
41 const char kManagedModeHasSeenSetupDialog[] = "managed_mode.setup_seen";
Bernhard Bauer 2013/04/08 12:26:09 For least surprise, it would be good if the string
Adrian Kuegel 2013/04/08 14:31:04 Done.
42
39 // This preference is used to store the hash of a password of the custodian of 43 // This preference is used to store the hash of a password of the custodian of
40 // a managed user. It allows to unlock options which should be not available to 44 // a managed user. It allows to unlock options which should be not available to
41 // the managed user. The salt preference is used to derive the hash from the 45 // the managed user. The salt preference is used to derive the hash from the
42 // password. 46 // password.
43 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase"; 47 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
44 const char kManagedModeLocalSalt[] = "managed_mode.salt"; 48 const char kManagedModeLocalSalt[] = "managed_mode.salt";
45 49
46 // Maps host names to whether the host is manually allowed or blocked. 50 // Maps host names to whether the host is manually allowed or blocked.
47 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts"; 51 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts";
48 // Maps URLs to whether the URL is manually allowed or blocked. 52 // Maps URLs to whether the URL is manually allowed or blocked.
(...skipping 2327 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 // the time of the last ping. 2380 // the time of the last ping.
2377 extern const char kAppListLaunchCount[] = "app_list.launch_count"; 2381 extern const char kAppListLaunchCount[] = "app_list.launch_count";
2378 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; 2382 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping";
2379 2383
2380 // The number of times the an app was launched from the app launcher since last 2384 // The number of times the an app was launched from the app launcher since last
2381 // ping and the time of the last ping. 2385 // ping and the time of the last ping.
2382 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2386 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2383 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2387 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2384 2388
2385 } // namespace prefs 2389 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698