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

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

Issue 7528024: Add a policy to allow NTP promotions & default apps to be disabled. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Disable app promo tests for ChromeOS. Created 9 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) 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 1205
1206 // The "hide this" link text for the NTP web store promo. 1206 // The "hide this" link text for the NTP web store promo.
1207 const char kNTPWebStorePromoExpire[] = "ntp.webstorepromo.expire"; 1207 const char kNTPWebStorePromoExpire[] = "ntp.webstorepromo.expire";
1208 1208
1209 // Specifies what users should maximize the NTP web store promo. 1209 // Specifies what users should maximize the NTP web store promo.
1210 const char kNTPWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; 1210 const char kNTPWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup";
1211 1211
1212 // Customized app page names that appear on the New Tab Page. 1212 // Customized app page names that appear on the New Tab Page.
1213 const char kNTPAppPageNames[] = "ntp.app_page_names"; 1213 const char kNTPAppPageNames[] = "ntp.app_page_names";
1214 1214
1215 // When true, web store promos will never be shown.
1216 const char kNTPHideWebStorePromo[] = "ntp.hide_webstore_promo";
1217
1215 // The most up-to-date GPU blacklist downloaded from the web, which replaces 1218 // The most up-to-date GPU blacklist downloaded from the web, which replaces
1216 // the one that's installed with chrome. 1219 // the one that's installed with chrome.
1217 const char kGpuBlacklist[] = "gpu_blacklist"; 1220 const char kGpuBlacklist[] = "gpu_blacklist";
1218 1221
1219 // Last time of update of gpu_blacklist. 1222 // Last time of update of gpu_blacklist.
1220 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update"; 1223 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update";
1221 1224
1222 const char kDevToolsDisabled[] = "devtools.disabled"; 1225 const char kDevToolsDisabled[] = "devtools.disabled";
1223 1226
1224 // A boolean specifying whether dev tools window should be opened docked. 1227 // A boolean specifying whether dev tools window should be opened docked.
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 // Whether user-specified handlers for protocols and content types can be 1446 // Whether user-specified handlers for protocols and content types can be
1444 // specified. 1447 // specified.
1445 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1448 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1446 1449
1447 // Integers that specify the policy refresh rate for device- and user-policy in 1450 // Integers that specify the policy refresh rate for device- and user-policy in
1448 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1451 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1449 // by the cloud policy subsystem. 1452 // by the cloud policy subsystem.
1450 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1453 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1451 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1454 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1452 } // namespace prefs 1455 } // namespace prefs
OLDNEW
« chrome/browser/extensions/apps_promo.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698