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

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

Issue 24533002: Added the AutomaticProfileResetter service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments, integrated Interpreter, added unit tests. 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
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 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 // Boolean pref that determines whether the user can enter fullscreen mode. 1241 // Boolean pref that determines whether the user can enter fullscreen mode.
1242 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop 1242 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop
1243 // platforms. 1243 // platforms.
1244 extern const char kFullscreenAllowed[] = "fullscreen.allowed"; 1244 extern const char kFullscreenAllowed[] = "fullscreen.allowed";
1245 1245
1246 // Enable notifications for new devices on the local network that can be 1246 // Enable notifications for new devices on the local network that can be
1247 // registered to the user's account, e.g. Google Cloud Print printers. 1247 // registered to the user's account, e.g. Google Cloud Print printers.
1248 const char kLocalDiscoveryNotificationsEnabled[] = 1248 const char kLocalDiscoveryNotificationsEnabled[] =
1249 "local_discovery.notifications_enabled"; 1249 "local_discovery.notifications_enabled";
1250 1250
1251 // String that indicates if the Profile Reset prompt has already been shown to
1252 // the user. Used both in user preferences and local state, in the latter, it is
1253 // actually a dictionary that maps profile keys to before-mentioned strings.
1254 const char kProfileResetPromptMemento[] = "profile.reset_prompt_memento";
1255
1251 // *************** LOCAL STATE *************** 1256 // *************** LOCAL STATE ***************
1252 // These are attached to the machine/installation 1257 // These are attached to the machine/installation
1253 1258
1254 // A pref to configure networks device-wide. Its value must be a list of 1259 // A pref to configure networks device-wide. Its value must be a list of
1255 // NetworkConfigurations according to the OpenNetworkConfiguration 1260 // NetworkConfigurations according to the OpenNetworkConfiguration
1256 // specification. 1261 // specification.
1257 // Currently, this pref is only used to store the policy. The user's 1262 // Currently, this pref is only used to store the policy. The user's
1258 // configuration is still stored in Shill. 1263 // configuration is still stored in Shill.
1259 const char kDeviceOpenNetworkConfiguration[] = "device_onc"; 1264 const char kDeviceOpenNetworkConfiguration[] = "device_onc";
1260 1265
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 // ActivityLog initialization before the extension system is initialized. 2512 // ActivityLog initialization before the extension system is initialized.
2508 const char kWatchdogExtensionActive[] = 2513 const char kWatchdogExtensionActive[] =
2509 "profile.extensions.activity_log.watchdog_extension_active"; 2514 "profile.extensions.activity_log.watchdog_extension_active";
2510 2515
2511 // A dictionary pref which maps profile names to dictionary values which hold 2516 // A dictionary pref which maps profile names to dictionary values which hold
2512 // hashes of profile prefs that we track to detect changes that happen outside 2517 // hashes of profile prefs that we track to detect changes that happen outside
2513 // of Chrome. 2518 // of Chrome.
2514 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; 2519 const char kProfilePreferenceHashes[] = "profile.preference_hashes";
2515 2520
2516 } // namespace prefs 2521 } // namespace prefs
OLDNEW
« chrome/browser/profile_resetter/automatic_profile_resetter.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