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

Side by Side Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.h

Issue 1756503003: NTP4: remove unused promo C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bubble-promo-ui
Patch Set: check Created 4 years, 9 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
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 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "components/keyed_service/core/keyed_service.h" 12 #include "components/keyed_service/core/keyed_service.h"
13 #include "components/prefs/pref_change_registrar.h" 13 #include "components/prefs/pref_change_registrar.h"
14 #include "components/web_resource/promo_resource_service.h"
15 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
17 16
18 class Profile; 17 class Profile;
19 18
20 namespace base { 19 namespace base {
21 class RefCountedMemory; 20 class RefCountedMemory;
22 } 21 }
23 22
24 namespace content { 23 namespace content {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void CreateNewTabCSS(); 84 void CreateNewTabCSS();
86 85
87 scoped_refptr<base::RefCountedMemory> new_tab_guest_html_; 86 scoped_refptr<base::RefCountedMemory> new_tab_guest_html_;
88 scoped_refptr<base::RefCountedMemory> new_tab_guest_css_; 87 scoped_refptr<base::RefCountedMemory> new_tab_guest_css_;
89 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_; 88 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_;
90 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_; 89 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_;
91 scoped_refptr<base::RefCountedMemory> new_tab_css_; 90 scoped_refptr<base::RefCountedMemory> new_tab_css_;
92 content::NotificationRegistrar registrar_; 91 content::NotificationRegistrar registrar_;
93 PrefChangeRegistrar profile_pref_change_registrar_; 92 PrefChangeRegistrar profile_pref_change_registrar_;
94 PrefChangeRegistrar local_state_pref_change_registrar_; 93 PrefChangeRegistrar local_state_pref_change_registrar_;
95 scoped_ptr<web_resource::PromoResourceService::StateChangedSubscription>
96 promo_resource_subscription_;
97 94
98 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled. 95 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled.
99 bool is_swipe_tracking_from_scroll_events_enabled_; 96 bool is_swipe_tracking_from_scroll_events_enabled_;
100 // Set based on NewTabUI::ShouldShowApps. 97 // Set based on NewTabUI::ShouldShowApps.
101 bool should_show_apps_page_; 98 bool should_show_apps_page_;
102 bool should_show_other_devices_menu_; 99 bool should_show_other_devices_menu_;
103 100
104 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); 101 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
105 }; 102 };
106 103
107 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ 104 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_page_handler.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698