summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 21:38:15 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 21:38:15 +0000
commita7c94bc9887ce9ab4afbaa7149b403db81940cac (patch)
treea2cc73c7560acb582769a4f78dfb3b5e18fa609c /chrome/browser/ui/webui/ntp/ntp_resource_cache.h
parent6c6361d31df0f6397092bba0659230bcad7ef88c (diff)
downloadchromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.zip
chromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.tar.gz
chromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.tar.bz2
Add a new App launcher promo to the apps page / NTP.
Simple change in chrome/browser/chrome_browser_main.cc TBR=ben@chromium.org BUG=180475 TEST=Make sure the apps promo only show on apps page of the NTP (or chrome://apps) and that it links to webstore (specific page to be added later on the webstore) and that it doesn't come back on a given installation of Chrome once dismissed with the X close button. That dimiss state can be reset with the command line switch --reset-show-apps-promo to help test it. Also, this shouldn't show when the App Launcher is installer... since no apps page should be shown anyway (tested with --show-app-list-shortcut) Review URL: https://chromiumcodereview.appspot.com/12985002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190772 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/ntp/ntp_resource_cache.h')
-rw-r--r--chrome/browser/ui/webui/ntp/ntp_resource_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
index cee7e0e..b30b41f 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
@@ -75,7 +75,8 @@ class NTPResourceCache : public content::NotificationObserver,
scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_;
scoped_refptr<base::RefCountedMemory> new_tab_css_;
content::NotificationRegistrar registrar_;
- PrefChangeRegistrar pref_change_registrar_;
+ PrefChangeRegistrar profile_pref_change_registrar_;
+ PrefChangeRegistrar local_state_pref_change_registrar_;
#endif
// Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled.