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

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

Issue 6542003: Refactor WebResourceService class, making it more generic. Move all the prom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: For the records Created 9 years, 10 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/testing_profile.h » ('j') | 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 1026
1027 const char kExtensionSidebarWidth[] = "extensions.sidebar.width"; 1027 const char kExtensionSidebarWidth[] = "extensions.sidebar.width";
1028 1028
1029 // New Tab Page URLs that should not be shown as most visited thumbnails. 1029 // New Tab Page URLs that should not be shown as most visited thumbnails.
1030 const char kNTPMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; 1030 const char kNTPMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist";
1031 1031
1032 // The URLs that have been pinned to the Most Visited section of the New Tab 1032 // The URLs that have been pinned to the Most Visited section of the New Tab
1033 // Page. 1033 // Page.
1034 const char kNTPMostVisitedPinnedURLs[] = "ntp.pinned_urls"; 1034 const char kNTPMostVisitedPinnedURLs[] = "ntp.pinned_urls";
1035 1035
1036 // Data downloaded from resource pages (JSON, RSS) to be used to dynamically 1036 // Data downloaded from promo resource pages (JSON, RSS) to be used to
1037 // deliver data for the new tab page. 1037 // dynamically deliver data for the new tab page.
1038 const char kNTPWebResourceCache[] = "ntp.web_resource_cache"; 1038 const char kNTPPromoResourceCache[] = "ntp.promo_resource_cache";
1039 1039
1040 // Last time of update of web_resource_cache. 1040 // Last time of update of promo_resource_cache.
1041 const char kNTPWebResourceCacheUpdate[] = "ntp.web_resource_cache_update"; 1041 const char kNTPPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update";
1042 1042
1043 // Serves resources for the NTP. 1043 // Serves promo resources for the NTP.
1044 const char kNTPWebResourceServer[] = "ntp.web_resource_server"; 1044 const char kNTPPromoResourceServer[] = "ntp.web_resource_server";
1045 1045
1046 // Serves tips for the NTP. 1046 // Serves tips for the NTP.
1047 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server"; 1047 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server";
1048 1048
1049 // Serves dates to determine display of elements on the NTP. 1049 // Serves dates to determine display of elements on the NTP.
1050 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; 1050 const char kNTPDateResourceServer[] = "ntp.date_resource_server";
1051 1051
1052 // Which sections should be visible on the new tab page 1052 // Which sections should be visible on the new tab page
1053 // 1 - Show the most visited sites in a grid 1053 // 1 - Show the most visited sites in a grid
1054 // 2 - Show the most visited sites as a list 1054 // 2 - Show the most visited sites as a list
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 const char kManagedDefaultPluginsSetting[] = 1237 const char kManagedDefaultPluginsSetting[] =
1238 "profile.managed_default_content_settings.plugins"; 1238 "profile.managed_default_content_settings.plugins";
1239 const char kManagedDefaultPopupsSetting[] = 1239 const char kManagedDefaultPopupsSetting[] =
1240 "profile.managed_default_content_settings.popups"; 1240 "profile.managed_default_content_settings.popups";
1241 1241
1242 // Dictionary for storing the set of known background pages (keys are extension 1242 // Dictionary for storing the set of known background pages (keys are extension
1243 // IDs of background page owners, value is a boolean that is true if the user 1243 // IDs of background page owners, value is a boolean that is true if the user
1244 // needs to acknowledge this page. 1244 // needs to acknowledge this page.
1245 const char kKnownBackgroundPages[] = "background_pages.known"; 1245 const char kKnownBackgroundPages[] = "background_pages.known";
1246 } // namespace prefs 1246 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698