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

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: Merge to TOT and fixed additional conflicts from rsimha. 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
« no previous file with comments | « 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) 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). This is ignored in the case of the default search
262 // provider being managed by policy.
263 const char kSyncedDefaultSearchProviderGUID[] =
264 "default_search_provider.synced_guid";
265
258 // Whether having a default search provider is enabled. 266 // Whether having a default search provider is enabled.
259 const char kDefaultSearchProviderEnabled[] = 267 const char kDefaultSearchProviderEnabled[] =
260 "default_search_provider.enabled"; 268 "default_search_provider.enabled";
261 269
262 // The URL (as understood by TemplateURLRef) the default search provider uses 270 // The URL (as understood by TemplateURLRef) the default search provider uses
263 // for searches. 271 // for searches.
264 const char kDefaultSearchProviderSearchURL[] = 272 const char kDefaultSearchProviderSearchURL[] =
265 "default_search_provider.search_url"; 273 "default_search_provider.search_url";
266 274
267 // The URL (as understood by TemplateURLRef) the default search provider uses 275 // The URL (as understood by TemplateURLRef) the default search provider uses
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 1648
1641 // String that represents the recovery component last downloaded version. This 1649 // String that represents the recovery component last downloaded version. This
1642 // takes the usual 'a.b.c.d' notation. 1650 // takes the usual 'a.b.c.d' notation.
1643 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1651 const char kRecoveryComponentVersion[] = "recovery_component.version";
1644 1652
1645 // String that stores the component updater last known state. This is used for 1653 // String that stores the component updater last known state. This is used for
1646 // troubleshooting. 1654 // troubleshooting.
1647 const char kComponentUpdaterState[] = "component_updater.state"; 1655 const char kComponentUpdaterState[] = "component_updater.state";
1648 1656
1649 } // namespace prefs 1657 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698