Index: chrome/browser/android/most_visited_sites.h |
diff --git a/chrome/browser/android/most_visited_sites.h b/chrome/browser/android/most_visited_sites.h |
index 6609846709ecd1798084ea3795525e1fd000880c..3352b3f20c6cabed21eb938f591275640904091a 100644 |
--- a/chrome/browser/android/most_visited_sites.h |
+++ b/chrome/browser/android/most_visited_sites.h |
@@ -56,6 +56,12 @@ class MostVisitedSites : public ProfileSyncServiceObserver, |
static bool Register(JNIEnv* env); |
private: |
+ // The source of the Most Visited sites. |
+ enum MostVisitedSource { |
+ TOP_SITES, |
+ SUGGESTIONS_SERVICE |
+ }; |
+ |
virtual ~MostVisitedSites(); |
void QueryMostVisitedURLs(); |
@@ -119,18 +125,13 @@ class MostVisitedSites : public ProfileSyncServiceObserver, |
// Copy of the server suggestions (if enabled). Used for logging. |
suggestions::SuggestionsProfile server_suggestions_; |
- // For callbacks may be run after destruction. |
- base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; |
- |
content::NotificationRegistrar registrar_; |
- // The source of the Most Visited sites. |
- enum MostVisitedSource { |
- TOP_SITES, |
- SUGGESTIONS_SERVICE |
- }; |
MostVisitedSource mv_source_; |
+ // For callbacks may be run after destruction. |
+ base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); |
}; |