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

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

Issue 8334030: Merge search engines sync data type with Preferences. Sync the default search provider. Add some ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; 248 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit";
249 249
250 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie 250 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie
251 // blocking policy. This has been superseded by kDefaultContentSettings + 251 // blocking policy. This has been superseded by kDefaultContentSettings +
252 // kBlockThirdPartyCookies. 252 // kBlockThirdPartyCookies.
253 // 0 - allow all cookies. 253 // 0 - allow all cookies.
254 // 1 - block third-party cookies 254 // 1 - block third-party cookies
255 // 2 - block all cookies 255 // 2 - block all cookies
256 const char kCookieBehavior[] = "security.cookie_behavior"; 256 const char kCookieBehavior[] = "security.cookie_behavior";
257 257
258 // The GUID of the synced default search provider. Note that this acts like a
259 // pointer to which synced search engine should be the default, rather than the
260 // prefs below which describe the locally saved default search provider details
261 // (and are not synced).
Nicolas Zea 2011/11/04 23:08:06 Mention that this is ignored (and not affected by)
SteveT 2011/11/07 21:48:56 Done.
262 const char kSyncedDefaultSearchProviderGUID[] =
263 "default_search_provider.synced_guid";
264
265 const char kPendingSyncedDefaultSearchProviderChange[] =
266 "default_search_provider.pending_sync_change";
267
258 // Whether having a default search provider is enabled. 268 // Whether having a default search provider is enabled.
259 const char kDefaultSearchProviderEnabled[] = 269 const char kDefaultSearchProviderEnabled[] =
260 "default_search_provider.enabled"; 270 "default_search_provider.enabled";
261 271
262 // The URL (as understood by TemplateURLRef) the default search provider uses 272 // The URL (as understood by TemplateURLRef) the default search provider uses
263 // for searches. 273 // for searches.
264 const char kDefaultSearchProviderSearchURL[] = 274 const char kDefaultSearchProviderSearchURL[] =
265 "default_search_provider.search_url"; 275 "default_search_provider.search_url";
266 276
267 // The URL (as understood by TemplateURLRef) the default search provider uses 277 // The URL (as understood by TemplateURLRef) the default search provider uses
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 1642
1633 // String that represents the recovery component last downloaded version. This 1643 // String that represents the recovery component last downloaded version. This
1634 // takes the usual 'a.b.c.d' notation. 1644 // takes the usual 'a.b.c.d' notation.
1635 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1645 const char kRecoveryComponentVersion[] = "recovery_component.version";
1636 1646
1637 // String that stores the component updater last known state. This is used for 1647 // String that stores the component updater last known state. This is used for
1638 // troubleshooting. 1648 // troubleshooting.
1639 const char kComponentUpdaterState[] = "component_updater.state"; 1649 const char kComponentUpdaterState[] = "component_updater.state";
1640 1650
1641 } // namespace prefs 1651 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698