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

Side by Side Diff: chrome/browser/android/ntp/most_visited_sites_bridge.h

Issue 2337893003: Pass PopularSites ownership to MostVisitedSites. (Closed)
Patch Set: header Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites_bridge.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698