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

Side by Side Diff: components/ntp_snippets/offline_pages/offline_pages_test_utils.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase 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_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_
6 #define COMPONENTS_NTP_SNIPPETS_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_ 6 #define COMPONENTS_NTP_SNIPPETS_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_
7 7
8 #include "components/ntp_snippets/content_suggestion.h" 8 #include "components/ntp_snippets/content_suggestion.h"
9 #include "components/offline_pages/offline_page_item.h" 9 #include "components/offline_pages/core/offline_page_item.h"
10 #include "components/offline_pages/stub_offline_page_model.h" 10 #include "components/offline_pages/core/stub_offline_page_model.h"
11 11
12 namespace ntp_snippets { 12 namespace ntp_snippets {
13 namespace test { 13 namespace test {
14 14
15 class FakeOfflinePageModel : public offline_pages::StubOfflinePageModel { 15 class FakeOfflinePageModel : public offline_pages::StubOfflinePageModel {
16 public: 16 public:
17 FakeOfflinePageModel(); 17 FakeOfflinePageModel();
18 ~FakeOfflinePageModel() override; 18 ~FakeOfflinePageModel() override;
19 19
20 void GetPagesMatchingQuery( 20 void GetPagesMatchingQuery(
(...skipping 21 matching lines...) Expand all
42 const std::string& name_space); 42 const std::string& name_space);
43 43
44 void CaptureDismissedSuggestions( 44 void CaptureDismissedSuggestions(
45 std::vector<ntp_snippets::ContentSuggestion>* captured_suggestions, 45 std::vector<ntp_snippets::ContentSuggestion>* captured_suggestions,
46 std::vector<ntp_snippets::ContentSuggestion> dismissed_suggestions); 46 std::vector<ntp_snippets::ContentSuggestion> dismissed_suggestions);
47 47
48 } // namespace test 48 } // namespace test
49 } // namespace ntp_snippets 49 } // namespace ntp_snippets
50 50
51 #endif // COMPONENTS_NTP_SNIPPETS_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_ 51 #endif // COMPONENTS_NTP_SNIPPETS_OFFLINE_PAGES_OFFLINE_PAGES_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698