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

Side by Side Diff: chrome/browser/android/most_visited_sites.h

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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/provider/chrome_browser_provider.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MOST_VISITED_SITES_H_ 5 #ifndef CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_
6 #define CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_ 6 #define CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/history/history_types.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/sync/profile_sync_service_observer.h" 14 #include "chrome/browser/sync/profile_sync_service_observer.h"
15 #include "components/history/core/browser/history_types.h"
16 #include "components/suggestions/proto/suggestions.pb.h" 16 #include "components/suggestions/proto/suggestions.pb.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 19
20 namespace suggestions { 20 namespace suggestions {
21 class SuggestionsService; 21 class SuggestionsService;
22 } 22 }
23 23
24 // Provides the list of most visited sites and their thumbnails to Java. 24 // Provides the list of most visited sites and their thumbnails to Java.
25 class MostVisitedSites : public ProfileSyncServiceObserver, 25 class MostVisitedSites : public ProfileSyncServiceObserver,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 enum MostVisitedSource { 128 enum MostVisitedSource {
129 TOP_SITES, 129 TOP_SITES,
130 SUGGESTIONS_SERVICE 130 SUGGESTIONS_SERVICE
131 }; 131 };
132 MostVisitedSource mv_source_; 132 MostVisitedSource mv_source_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); 134 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites);
135 }; 135 };
136 136
137 #endif // CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_ 137 #endif // CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/provider/chrome_browser_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698