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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/offline_pages/stub_offline_page_model.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/stub_offline_page_model.cc
diff --git a/components/offline_pages/stub_offline_page_model.cc b/components/offline_pages/stub_offline_page_model.cc
deleted file mode 100644
index f45189ee8059194989baf05089b56f9bc82f32ee..0000000000000000000000000000000000000000
--- a/components/offline_pages/stub_offline_page_model.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/offline_pages/stub_offline_page_model.h"
-
-namespace offline_pages {
-
-StubOfflinePageModel::StubOfflinePageModel() {}
-StubOfflinePageModel::~StubOfflinePageModel() {}
-
-void StubOfflinePageModel::AddObserver(Observer* observer) {}
-void StubOfflinePageModel::RemoveObserver(Observer* observer) {}
-void StubOfflinePageModel::SavePage(
- const SavePageParams& save_page_params,
- std::unique_ptr<OfflinePageArchiver> archiver,
- const SavePageCallback& callback) {}
-void StubOfflinePageModel::MarkPageAccessed(int64_t offline_id) {}
-void StubOfflinePageModel::DeletePagesByOfflineId(
- const std::vector<int64_t>& offline_ids,
- const DeletePageCallback& callback) {}
-void StubOfflinePageModel::DeletePagesByClientIds(
- const std::vector<ClientId>& client_ids,
- const DeletePageCallback& callback) {}
-void StubOfflinePageModel::GetPagesMatchingQuery(
- std::unique_ptr<OfflinePageModelQuery> query,
- const MultipleOfflinePageItemCallback& callback) {}
-void StubOfflinePageModel::GetPagesByClientIds(
- const std::vector<ClientId>& client_ids,
- const MultipleOfflinePageItemCallback& callback) {}
-void StubOfflinePageModel::DeleteCachedPagesByURLPredicate(
- const UrlPredicate& predicate,
- const DeletePageCallback& callback) {}
-void StubOfflinePageModel::CheckPagesExistOffline(
- const std::set<GURL>& urls,
- const CheckPagesExistOfflineCallback& callback) {}
-void StubOfflinePageModel::GetAllPages(
- const MultipleOfflinePageItemCallback& callback) {}
-void StubOfflinePageModel::GetOfflineIdsForClientId(
- const ClientId& client_id,
- const MultipleOfflineIdCallback& callback) {}
-void StubOfflinePageModel::GetPageByOfflineId(
- int64_t offline_id,
- const SingleOfflinePageItemCallback& callback) {}
-void StubOfflinePageModel::GetPagesByURL(
- const GURL& url,
- URLSearchMode url_search_mode,
- const MultipleOfflinePageItemCallback& callback) {}
-ClientPolicyController* StubOfflinePageModel::GetPolicyController() {
- return &policy_controller_;
-}
-bool StubOfflinePageModel::is_loaded() const {
- return true;
-}
-OfflineEventLogger* StubOfflinePageModel::GetLogger() {
- return nullptr;
-}
-} // namespace offline_pages
« 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