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

Side by Side Diff: components/offline_pages/stub_offline_page_model.cc

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
« no previous file with comments | « components/offline_pages/stub_offline_page_model.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/offline_pages/stub_offline_page_model.h"
6
7 namespace offline_pages {
8
9 StubOfflinePageModel::StubOfflinePageModel() {}
10 StubOfflinePageModel::~StubOfflinePageModel() {}
11
12 void StubOfflinePageModel::AddObserver(Observer* observer) {}
13 void StubOfflinePageModel::RemoveObserver(Observer* observer) {}
14 void StubOfflinePageModel::SavePage(
15 const SavePageParams& save_page_params,
16 std::unique_ptr<OfflinePageArchiver> archiver,
17 const SavePageCallback& callback) {}
18 void StubOfflinePageModel::MarkPageAccessed(int64_t offline_id) {}
19 void StubOfflinePageModel::DeletePagesByOfflineId(
20 const std::vector<int64_t>& offline_ids,
21 const DeletePageCallback& callback) {}
22 void StubOfflinePageModel::DeletePagesByClientIds(
23 const std::vector<ClientId>& client_ids,
24 const DeletePageCallback& callback) {}
25 void StubOfflinePageModel::GetPagesMatchingQuery(
26 std::unique_ptr<OfflinePageModelQuery> query,
27 const MultipleOfflinePageItemCallback& callback) {}
28 void StubOfflinePageModel::GetPagesByClientIds(
29 const std::vector<ClientId>& client_ids,
30 const MultipleOfflinePageItemCallback& callback) {}
31 void StubOfflinePageModel::DeleteCachedPagesByURLPredicate(
32 const UrlPredicate& predicate,
33 const DeletePageCallback& callback) {}
34 void StubOfflinePageModel::CheckPagesExistOffline(
35 const std::set<GURL>& urls,
36 const CheckPagesExistOfflineCallback& callback) {}
37 void StubOfflinePageModel::GetAllPages(
38 const MultipleOfflinePageItemCallback& callback) {}
39 void StubOfflinePageModel::GetOfflineIdsForClientId(
40 const ClientId& client_id,
41 const MultipleOfflineIdCallback& callback) {}
42 void StubOfflinePageModel::GetPageByOfflineId(
43 int64_t offline_id,
44 const SingleOfflinePageItemCallback& callback) {}
45 void StubOfflinePageModel::GetPagesByURL(
46 const GURL& url,
47 URLSearchMode url_search_mode,
48 const MultipleOfflinePageItemCallback& callback) {}
49 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
50 return &policy_controller_;
51 }
52 bool StubOfflinePageModel::is_loaded() const {
53 return true;
54 }
55 OfflineEventLogger* StubOfflinePageModel::GetLogger() {
56 return nullptr;
57 }
58 } // namespace offline_pages
OLDNEW
« no previous file with comments | « components/offline_pages/stub_offline_page_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698