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

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

Issue 229763005: Store default search provider data in dictionary pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make DSE Manager use TemplateURLData Created 6 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
« chrome/common/pref_names.h ('K') | « 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) 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; 327 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit";
328 328
329 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie 329 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie
330 // blocking policy. This has been superseded by kDefaultContentSettings + 330 // blocking policy. This has been superseded by kDefaultContentSettings +
331 // kBlockThirdPartyCookies. 331 // kBlockThirdPartyCookies.
332 // 0 - allow all cookies. 332 // 0 - allow all cookies.
333 // 1 - block third-party cookies 333 // 1 - block third-party cookies
334 // 2 - block all cookies 334 // 2 - block all cookies
335 const char kCookieBehavior[] = "security.cookie_behavior"; 335 const char kCookieBehavior[] = "security.cookie_behavior";
336 336
337 // A dictionary to hold all data related to the Default Search Engine.
338 // Eventually, this should replace all the data stored in the
339 // default_search_provider.* prefs below.
340 const char kDefaultSearchProviderData[] =
341 "default_search_provider.template_url_data";
342
337 // The GUID of the synced default search provider. Note that this acts like a 343 // The GUID of the synced default search provider. Note that this acts like a
338 // pointer to which synced search engine should be the default, rather than the 344 // pointer to which synced search engine should be the default, rather than the
339 // prefs below which describe the locally saved default search provider details 345 // prefs below which describe the locally saved default search provider details
340 // (and are not synced). This is ignored in the case of the default search 346 // (and are not synced). This is ignored in the case of the default search
341 // provider being managed by policy. 347 // provider being managed by policy.
342 const char kSyncedDefaultSearchProviderGUID[] = 348 const char kSyncedDefaultSearchProviderGUID[] =
343 "default_search_provider.synced_guid"; 349 "default_search_provider.synced_guid";
344 350
345 // Whether having a default search provider is enabled. 351 // Whether having a default search provider is enabled.
346 const char kDefaultSearchProviderEnabled[] = 352 const char kDefaultSearchProviderEnabled[] =
(...skipping 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2505 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2511 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2506 // given by the PartnerBookmarksProvider and either the user-visible renamed 2512 // given by the PartnerBookmarksProvider and either the user-visible renamed
2507 // title or an empty string if the bookmark node was removed. 2513 // title or an empty string if the bookmark node was removed.
2508 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2514 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2509 #endif 2515 #endif
2510 2516
2511 // Whether DNS Quick Check is disabled in proxy resolution. 2517 // Whether DNS Quick Check is disabled in proxy resolution.
2512 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2518 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2513 2519
2514 } // namespace prefs 2520 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698