OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void OnURLFilterChanged() override; | 76 void OnURLFilterChanged() override; |
77 | 77 |
78 private: | 78 private: |
79 Profile* const profile_; | 79 Profile* const profile_; |
80 Observer* supervisor_observer_; | 80 Observer* supervisor_observer_; |
81 ScopedObserver<SupervisedUserService, SupervisedUserServiceObserver> | 81 ScopedObserver<SupervisedUserService, SupervisedUserServiceObserver> |
82 register_observer_; | 82 register_observer_; |
83 }; | 83 }; |
84 SupervisorBridge supervisor_; | 84 SupervisorBridge supervisor_; |
85 | 85 |
86 ntp_tiles::PopularSites popular_sites_; | |
87 ntp_tiles::MostVisitedSites most_visited_; | 86 ntp_tiles::MostVisitedSites most_visited_; |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(MostVisitedSitesBridge); | 88 DISALLOW_COPY_AND_ASSIGN(MostVisitedSitesBridge); |
90 }; | 89 }; |
91 | 90 |
92 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 91 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
OLD | NEW |