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

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: update Created 4 years, 1 month 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
(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::GetAllPagesWithExpired(
40 const MultipleOfflinePageItemCallback& callback) {}
41 void StubOfflinePageModel::GetOfflineIdsForClientId(
42 const ClientId& client_id,
43 const MultipleOfflineIdCallback& callback) {}
44 void StubOfflinePageModel::GetPageByOfflineId(
45 int64_t offline_id,
46 const SingleOfflinePageItemCallback& callback) {}
47 void StubOfflinePageModel::GetPagesByOnlineURL(
48 const GURL& online_url,
49 const MultipleOfflinePageItemCallback& callback) {}
50 void StubOfflinePageModel::ExpirePages(
51 const std::vector<int64_t>& offline_ids,
52 const base::Time& expiration_time,
53 const base::Callback<void(bool)>& callback) {}
54 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
55 return &policy_controller_;
56 }
57 bool StubOfflinePageModel::is_loaded() const {
58 return true;
59 }
60 OfflineEventLogger* StubOfflinePageModel::GetLogger() {
61 return nullptr;
62 }
63 } // namespace offline_pages
OLDNEW
« components/offline_pages/core/DEPS ('K') | « 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