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

Side by Side Diff: components/ntp_snippets/physical_web_pages/physical_web_page_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_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTIONS _PROVIDER_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTIONS _PROVIDER_H_
6 #define COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTIONS _PROVIDER_H_ 6 #define COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_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 "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "components/ntp_snippets/category.h" 13 #include "components/ntp_snippets/category.h"
14 #include "components/ntp_snippets/category_factory.h" 14 #include "components/ntp_snippets/category_factory.h"
15 #include "components/ntp_snippets/category_status.h" 15 #include "components/ntp_snippets/category_status.h"
16 #include "components/ntp_snippets/content_suggestion.h" 16 #include "components/ntp_snippets/content_suggestion.h"
17 #include "components/ntp_snippets/content_suggestions_provider.h" 17 #include "components/ntp_snippets/content_suggestions_provider.h"
18 18
19 namespace gfx {
20 class Image;
21 } // namespace gfx
22
23 namespace ntp_snippets { 19 namespace ntp_snippets {
24 20
25 // TODO(vitaliii): remove when Physical Web C++ interface is provided. 21 // TODO(vitaliii): remove when Physical Web C++ interface is provided.
26 struct UrlInfo { 22 struct UrlInfo {
27 UrlInfo(); 23 UrlInfo();
28 UrlInfo(const UrlInfo& other); 24 UrlInfo(const UrlInfo& other);
29 ~UrlInfo(); 25 ~UrlInfo();
30 base::Time scan_time; 26 base::Time scan_time;
31 GURL site_url; 27 GURL site_url;
32 std::string title; 28 std::string title;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 63
68 CategoryStatus category_status_; 64 CategoryStatus category_status_;
69 const Category provided_category_; 65 const Category provided_category_;
70 66
71 DISALLOW_COPY_AND_ASSIGN(PhysicalWebPageSuggestionsProvider); 67 DISALLOW_COPY_AND_ASSIGN(PhysicalWebPageSuggestionsProvider);
72 }; 68 };
73 69
74 } // namespace ntp_snippets 70 } // namespace ntp_snippets
75 71
76 #endif // COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTI ONS_PROVIDER_H_ 72 #endif // COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTI ONS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698