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

Unified Diff: chrome/browser/android/ntp/most_visited_sites.h

Issue 1921933004: More consistency in m_v_s_bridge.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Protected destructor Created 4 years, 8 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/ntp/most_visited_sites.h
diff --git a/chrome/browser/android/ntp/most_visited_sites.h b/chrome/browser/android/ntp/most_visited_sites.h
index bbbd5d217d75f4f15d77fb828cb7eec14ce9274f..3939ee745c578d594d8cd2a7958082e0177b319d 100644
--- a/chrome/browser/android/ntp/most_visited_sites.h
+++ b/chrome/browser/android/ntp/most_visited_sites.h
@@ -56,11 +56,12 @@ class MostVisitedSites : public history::TopSitesObserver,
// The observer to be notified when the list of most visited sites changes.
class Observer {
public:
- virtual ~Observer() {}
-
virtual void OnMostVisitedURLsAvailable(
const SuggestionsVector& suggestions) = 0;
virtual void OnPopularURLsAvailable(const PopularSitesVector& sites) = 0;
+
+ protected:
+ virtual ~Observer() {}
};
struct Suggestion {
« 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