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

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

Issue 2185973003: [Offline Pages] Delete associated page along with bookmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unintended changes. Created 4 years, 4 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const SingleOfflinePageItemCallback callback) {} 63 const SingleOfflinePageItemCallback callback) {}
64 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL( 64 const OfflinePageItem* StubOfflinePageModel::MaybeGetBestPageForOnlineURL(
65 const GURL& online_url) const { 65 const GURL& online_url) const {
66 return nullptr; 66 return nullptr;
67 } 67 }
68 void StubOfflinePageModel::CheckMetadataConsistency() {} 68 void StubOfflinePageModel::CheckMetadataConsistency() {}
69 void StubOfflinePageModel::ExpirePages( 69 void StubOfflinePageModel::ExpirePages(
70 const std::vector<int64_t>& offline_ids, 70 const std::vector<int64_t>& offline_ids,
71 const base::Time& expiration_time, 71 const base::Time& expiration_time,
72 const base::Callback<void(bool)>& callback) {} 72 const base::Callback<void(bool)>& callback) {}
73 void StubOfflinePageModel::ExpireRemovedBookmarkPage(
74 const bookmarks::BookmarkNode* node) {}
75 OfflinePageBookmarkObserver* StubOfflinePageModel::GetBookmarkObserver() {
76 return nullptr;
77 }
73 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { 78 ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
74 return nullptr; 79 return nullptr;
75 } 80 }
76 bool StubOfflinePageModel::is_loaded() const { 81 bool StubOfflinePageModel::is_loaded() const {
77 return true; 82 return true;
78 } 83 }
79 OfflineEventLogger* StubOfflinePageModel::GetLogger() { 84 OfflineEventLogger* StubOfflinePageModel::GetLogger() {
80 return nullptr; 85 return nullptr;
81 } 86 }
82 } // namespace offline_pages 87 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698