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

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

Issue 2041983006: [Offline Pages] Filtering expired pages and fix consistency check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments and some naming changes. Created 4 years, 6 months 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void StubOfflinePageModel::GetPagesByOnlineURL( 56 void StubOfflinePageModel::GetPagesByOnlineURL(
57 const GURL& online_url, 57 const GURL& online_url,
58 const MultipleOfflinePageItemCallback& callback) {} 58 const MultipleOfflinePageItemCallback& callback) {}
59 void StubOfflinePageModel::GetBestPageForOnlineURL( 59 void StubOfflinePageModel::GetBestPageForOnlineURL(
60 const GURL& online_url, 60 const GURL& online_url,
61 const SingleOfflinePageItemCallback callback) {} 61 const SingleOfflinePageItemCallback callback) {}
62 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL( 62 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL(
63 const GURL& online_url) const { 63 const GURL& online_url) const {
64 return nullptr; 64 return nullptr;
65 } 65 }
66 void StubOfflinePageModel::CheckForExternalFileDeletion() {} 66 void StubOfflinePageModel::CheckMetadataConsistency() {}
67 void StubOfflinePageModel::ExpirePages( 67 void StubOfflinePageModel::ExpirePages(
68 const std::vector<int64_t>& offline_ids, 68 const std::vector<int64_t>& offline_ids,
69 const base::Time& expiration_time, 69 const base::Time& expiration_time,
70 const base::Callback<void(bool)>& callback) {} 70 const base::Callback<void(bool)>& callback) {}
71 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { 71 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
72 return nullptr; 72 return nullptr;
73 } 73 }
74 bool StubOfflinePageModel::is_loaded() const { 74 bool StubOfflinePageModel::is_loaded() const {
75 return true; 75 return true;
76 } 76 }
77 77
78 } // namespace offline_pages 78 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698