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

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

Issue 271673006: Eliminate all code related to the AutomaticProfileResetter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Language nit. Created 6 years, 4 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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 1188
1189 // Enable notifications for new devices on the local network that can be 1189 // Enable notifications for new devices on the local network that can be
1190 // registered to the user's account, e.g. Google Cloud Print printers. 1190 // registered to the user's account, e.g. Google Cloud Print printers.
1191 const char kLocalDiscoveryNotificationsEnabled[] = 1191 const char kLocalDiscoveryNotificationsEnabled[] =
1192 "local_discovery.notifications_enabled"; 1192 "local_discovery.notifications_enabled";
1193 1193
1194 // A timestamp (stored in base::Time::ToInternalValue format) of the last time 1194 // A timestamp (stored in base::Time::ToInternalValue format) of the last time
1195 // a preference was reset. 1195 // a preference was reset.
1196 const char kPreferenceResetTime[] = "prefs.preference_reset_time"; 1196 const char kPreferenceResetTime[] = "prefs.preference_reset_time";
1197 1197
1198 // OBSOLETE. The AutomaticProfileResetter service has been removed. We keep the
1199 // name here for now so we can clear out legacy values.
1198 // String that indicates if the Profile Reset prompt has already been shown to 1200 // String that indicates if the Profile Reset prompt has already been shown to
1199 // the user. Used both in user preferences and local state, in the latter, it is 1201 // the user. Used both in user preferences and local state, in the latter, it is
1200 // actually a dictionary that maps profile keys to before-mentioned strings. 1202 // actually a dictionary that maps profile keys to before-mentioned strings.
1203 // TODO(engedy): Remove this and usages in M42 or later. See crbug.com/398813.
1201 const char kProfileResetPromptMemento[] = "profile.reset_prompt_memento"; 1204 const char kProfileResetPromptMemento[] = "profile.reset_prompt_memento";
1202 1205
1203 // The GCM channel's enabled state. 1206 // The GCM channel's enabled state.
1204 const char kGCMChannelEnabled[] = "gcm.channel_enabled"; 1207 const char kGCMChannelEnabled[] = "gcm.channel_enabled";
1205 1208
1206 // How many Service Workers are registered with the Push API (could be zero). 1209 // How many Service Workers are registered with the Push API (could be zero).
1207 const char kPushMessagingRegistrationCount[] = 1210 const char kPushMessagingRegistrationCount[] =
1208 "gcm.push_messaging_registration_count"; 1211 "gcm.push_messaging_registration_count";
1209 1212
1210 // Whether Easy Unlock is enabled. 1213 // Whether Easy Unlock is enabled.
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2293 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2291 // given by the PartnerBookmarksProvider and either the user-visible renamed 2294 // given by the PartnerBookmarksProvider and either the user-visible renamed
2292 // title or an empty string if the bookmark node was removed. 2295 // title or an empty string if the bookmark node was removed.
2293 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2296 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2294 #endif 2297 #endif
2295 2298
2296 // Whether DNS Quick Check is disabled in proxy resolution. 2299 // Whether DNS Quick Check is disabled in proxy resolution.
2297 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2300 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2298 2301
2299 } // namespace prefs 2302 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698