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

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: Add a startup elevation flag. 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
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[] =
42 "managed_mode.has_seen_setuo_dialog";
43
39 // This preference is used to store the hash of a password of the custodian of 44 // 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 45 // 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 46 // the managed user. The salt preference is used to derive the hash from the
42 // password. 47 // password.
43 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase"; 48 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase";
44 const char kManagedModeLocalSalt[] = "managed_mode.salt"; 49 const char kManagedModeLocalSalt[] = "managed_mode.salt";
45 50
46 // Maps host names to whether the host is manually allowed or blocked. 51 // Maps host names to whether the host is manually allowed or blocked.
47 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts"; 52 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts";
48 // Maps URLs to whether the URL is manually allowed or blocked. 53 // 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. 2381 // the time of the last ping.
2377 extern const char kAppListLaunchCount[] = "app_list.launch_count"; 2382 extern const char kAppListLaunchCount[] = "app_list.launch_count";
2378 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; 2383 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping";
2379 2384
2380 // The number of times the an app was launched from the app launcher since last 2385 // The number of times the an app was launched from the app launcher since last
2381 // ping and the time of the last ping. 2386 // ping and the time of the last ping.
2382 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2387 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2383 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2388 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2384 2389
2385 } // namespace prefs 2390 } // namespace prefs
OLDNEW
« chrome/browser/ui/startup/startup_browser_creator_impl.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698