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

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

Issue 11953021: Don't show the apps page on the NTP if the app launcher is installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move getShouldShowApps message to onLoad. Created 7 years, 11 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') | 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 // an extension ID and an update URL, delimited by a semicolon. 1573 // an extension ID and an update URL, delimited by a semicolon.
1574 // This preference is set by an admin policy, and meant to be only 1574 // This preference is set by an admin policy, and meant to be only
1575 // accessed through extensions::ExternalPolicyProvider. 1575 // accessed through extensions::ExternalPolicyProvider.
1576 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; 1576 const char kExtensionInstallForceList[] = "extensions.install.forcelist";
1577 1577
1578 // Indicates on-disk data might have skeletal data that needs to be cleaned 1578 // Indicates on-disk data might have skeletal data that needs to be cleaned
1579 // on the next start of the browser. 1579 // on the next start of the browser.
1580 const char kExtensionStorageGarbageCollect[] = 1580 const char kExtensionStorageGarbageCollect[] =
1581 "extensions.storage.garbagecollect"; 1581 "extensions.storage.garbagecollect";
1582 1582
1583 // Local state caching knowledge of whether the app launcher is installed.
1584 const char kAppLauncherIsEnabled[] =
1585 "extensions.app_launcher.should_show_apps_page";
1586
1583 // Keeps track of which sessions are collapsed in the Other Devices menu. 1587 // Keeps track of which sessions are collapsed in the Other Devices menu.
1584 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; 1588 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions";
1585 1589
1586 // New Tab Page URLs that should not be shown as most visited thumbnails. 1590 // New Tab Page URLs that should not be shown as most visited thumbnails.
1587 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; 1591 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist";
1588 1592
1589 // Last time of update of promo_resource_cache. 1593 // Last time of update of promo_resource_cache.
1590 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update"; 1594 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update";
1591 1595
1592 // Serves tips for the NTP. 1596 // Serves tips for the NTP.
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2234 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2231 2235
2232 #if defined(OS_CHROMEOS) 2236 #if defined(OS_CHROMEOS)
2233 // The RLZ brand code, if enabled. 2237 // The RLZ brand code, if enabled.
2234 const char kRLZBrand[] = "rlz.brand"; 2238 const char kRLZBrand[] = "rlz.brand";
2235 // Whether RLZ pings are disabled. 2239 // Whether RLZ pings are disabled.
2236 const char kRLZDisabled[] = "rlz.disabled"; 2240 const char kRLZDisabled[] = "rlz.disabled";
2237 #endif 2241 #endif
2238 2242
2239 } // namespace prefs 2243 } // 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