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

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

Issue 2284933002: Remove OfflineURL from offline page (Closed)
Patch Set: Add comment per feedback Created 4 years, 2 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
« 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
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 28 matching lines...) Expand all
39 std::vector<int64_t> offline_ids; 39 std::vector<int64_t> offline_ids;
40 return offline_ids; 40 return offline_ids;
41 } 41 }
42 void StubOfflinePageModel::GetPageByOfflineId( 42 void StubOfflinePageModel::GetPageByOfflineId(
43 int64_t offline_id, 43 int64_t offline_id,
44 const SingleOfflinePageItemCallback& callback) {} 44 const SingleOfflinePageItemCallback& callback) {}
45 const OfflinePageItem* StubOfflinePageModel::MaybeGetPageByOfflineId( 45 const OfflinePageItem* StubOfflinePageModel::MaybeGetPageByOfflineId(
46 int64_t offline_id) const { 46 int64_t offline_id) const {
47 return nullptr; 47 return nullptr;
48 } 48 }
49 void StubOfflinePageModel::GetPageByOfflineURL(
50 const GURL& offline_url,
51 const SingleOfflinePageItemCallback& callback) {}
52 const OfflinePageItem* StubOfflinePageModel::MaybeGetPageByOfflineURL(
53 const GURL& offline_url) const {
54 return nullptr;
55 }
56 void StubOfflinePageModel::GetPagesByOnlineURL( 49 void StubOfflinePageModel::GetPagesByOnlineURL(
57 const GURL& online_url, 50 const GURL& online_url,
58 const MultipleOfflinePageItemCallback& callback) {} 51 const MultipleOfflinePageItemCallback& callback) {}
59 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL( 52 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL(
60 const GURL& online_url) const { 53 const GURL& online_url) const {
61 return nullptr; 54 return nullptr;
62 } 55 }
63 void StubOfflinePageModel::ExpirePages( 56 void StubOfflinePageModel::ExpirePages(
64 const std::vector<int64_t>& offline_ids, 57 const std::vector<int64_t>& offline_ids,
65 const base::Time& expiration_time, 58 const base::Time& expiration_time,
66 const base::Callback<void(bool)>& callback) {} 59 const base::Callback<void(bool)>& callback) {}
67 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { 60 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
68 return nullptr; 61 return nullptr;
69 } 62 }
70 bool StubOfflinePageModel::is_loaded() const { 63 bool StubOfflinePageModel::is_loaded() const {
71 return true; 64 return true;
72 } 65 }
73 OfflineEventLogger* StubOfflinePageModel::GetLogger() { 66 OfflineEventLogger* StubOfflinePageModel::GetLogger() {
74 return nullptr; 67 return nullptr;
75 } 68 }
76 } // namespace offline_pages 69 } // 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