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

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

Issue 2512073002: [Offline Pages] Removes two-step expiration related. (Closed)
Patch Set: Addressed comments. 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 #include "components/offline_pages/stub_offline_page_model.h" 5 #include "components/offline_pages/stub_offline_page_model.h"
6 6
7 namespace offline_pages { 7 namespace offline_pages {
8 8
9 StubOfflinePageModel::StubOfflinePageModel() {} 9 StubOfflinePageModel::StubOfflinePageModel() {}
10 StubOfflinePageModel::~StubOfflinePageModel() {} 10 StubOfflinePageModel::~StubOfflinePageModel() {}
(...skipping 18 matching lines...) Expand all
29 const std::vector<ClientId>& client_ids, 29 const std::vector<ClientId>& client_ids,
30 const MultipleOfflinePageItemCallback& callback) {} 30 const MultipleOfflinePageItemCallback& callback) {}
31 void StubOfflinePageModel::DeleteCachedPagesByURLPredicate( 31 void StubOfflinePageModel::DeleteCachedPagesByURLPredicate(
32 const UrlPredicate& predicate, 32 const UrlPredicate& predicate,
33 const DeletePageCallback& callback) {} 33 const DeletePageCallback& callback) {}
34 void StubOfflinePageModel::CheckPagesExistOffline( 34 void StubOfflinePageModel::CheckPagesExistOffline(
35 const std::set<GURL>& urls, 35 const std::set<GURL>& urls,
36 const CheckPagesExistOfflineCallback& callback) {} 36 const CheckPagesExistOfflineCallback& callback) {}
37 void StubOfflinePageModel::GetAllPages( 37 void StubOfflinePageModel::GetAllPages(
38 const MultipleOfflinePageItemCallback& callback) {} 38 const MultipleOfflinePageItemCallback& callback) {}
39 void StubOfflinePageModel::GetAllPagesWithExpired(
40 const MultipleOfflinePageItemCallback& callback) {}
41 void StubOfflinePageModel::GetOfflineIdsForClientId( 39 void StubOfflinePageModel::GetOfflineIdsForClientId(
42 const ClientId& client_id, 40 const ClientId& client_id,
43 const MultipleOfflineIdCallback& callback) {} 41 const MultipleOfflineIdCallback& callback) {}
44 void StubOfflinePageModel::GetPageByOfflineId( 42 void StubOfflinePageModel::GetPageByOfflineId(
45 int64_t offline_id, 43 int64_t offline_id,
46 const SingleOfflinePageItemCallback& callback) {} 44 const SingleOfflinePageItemCallback& callback) {}
47 void StubOfflinePageModel::GetPagesByURL( 45 void StubOfflinePageModel::GetPagesByURL(
48 const GURL& url, 46 const GURL& url,
49 URLSearchMode url_search_mode, 47 URLSearchMode url_search_mode,
50 const MultipleOfflinePageItemCallback& callback) {} 48 const MultipleOfflinePageItemCallback& callback) {}
51 void StubOfflinePageModel::ExpirePages(
52 const std::vector<int64_t>& offline_ids,
53 const base::Time& expiration_time,
54 const base::Callback<void(bool)>& callback) {}
55 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { 49 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
56 return &policy_controller_; 50 return &policy_controller_;
57 } 51 }
58 bool StubOfflinePageModel::is_loaded() const { 52 bool StubOfflinePageModel::is_loaded() const {
59 return true; 53 return true;
60 } 54 }
61 OfflineEventLogger* StubOfflinePageModel::GetLogger() { 55 OfflineEventLogger* StubOfflinePageModel::GetLogger() {
62 return nullptr; 56 return nullptr;
63 } 57 }
64 } // namespace offline_pages 58 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698