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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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/prefs/pref_change_registrar.h"
12 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
13 #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"
14 #include "components/web_resource/promo_resource_service.h" 14 #include "components/web_resource/promo_resource_service.h"
15 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace base { 20 namespace base {
21 class RefCountedMemory; 21 class RefCountedMemory;
22 } 22 }
23 23
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled. 98 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled.
99 bool is_swipe_tracking_from_scroll_events_enabled_; 99 bool is_swipe_tracking_from_scroll_events_enabled_;
100 // Set based on NewTabUI::ShouldShowApps. 100 // Set based on NewTabUI::ShouldShowApps.
101 bool should_show_apps_page_; 101 bool should_show_apps_page_;
102 bool should_show_other_devices_menu_; 102 bool should_show_other_devices_menu_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); 104 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
105 }; 105 };
106 106
107 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ 107 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.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