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

Side by Side Diff: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
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 COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_
6 #define COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_ 6 #define COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "components/bookmarks/browser/bookmark_model_observer.h" 12 #include "components/bookmarks/browser/bookmark_model_observer.h"
13 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/ntp_snippets/category.h" 14 #include "components/ntp_snippets/category.h"
15 #include "components/ntp_snippets/category_status.h" 15 #include "components/ntp_snippets/category_status.h"
16 #include "components/ntp_snippets/content_suggestions_provider.h" 16 #include "components/ntp_snippets/content_suggestions_provider.h"
17 17
18 class PrefRegistrySimple; 18 class PrefRegistrySimple;
19 class PrefService; 19 class PrefService;
20 20
21 namespace gfx {
22 class Image;
23 } // namespace gfx
24
25 namespace ntp_snippets { 21 namespace ntp_snippets {
26 22
27 // Provides content suggestions from the bookmarks model. 23 // Provides content suggestions from the bookmarks model.
28 class BookmarkSuggestionsProvider : public ContentSuggestionsProvider, 24 class BookmarkSuggestionsProvider : public ContentSuggestionsProvider,
29 public bookmarks::BookmarkModelObserver { 25 public bookmarks::BookmarkModelObserver {
30 public: 26 public:
31 BookmarkSuggestionsProvider(ContentSuggestionsProvider::Observer* observer, 27 BookmarkSuggestionsProvider(ContentSuggestionsProvider::Observer* observer,
32 CategoryFactory* category_factory, 28 CategoryFactory* category_factory,
33 bookmarks::BookmarkModel* bookmark_model, 29 bookmarks::BookmarkModel* bookmark_model,
34 PrefService* pref_service); 30 PrefService* pref_service);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // deciding which bookmarks to suggest. Should we also consider visits on 119 // deciding which bookmarks to suggest. Should we also consider visits on
124 // desktop platforms? 120 // desktop platforms?
125 bool consider_bookmark_visits_from_desktop_; 121 bool consider_bookmark_visits_from_desktop_;
126 122
127 DISALLOW_COPY_AND_ASSIGN(BookmarkSuggestionsProvider); 123 DISALLOW_COPY_AND_ASSIGN(BookmarkSuggestionsProvider);
128 }; 124 };
129 125
130 } // namespace ntp_snippets 126 } // namespace ntp_snippets
131 127
132 #endif // COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_ 128 #endif // COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_SUGGESTIONS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698