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

Side by Side Diff: components/offline_pages/core/prefetch/prefetch_service_impl.cc

Issue 2820263002: [Offline Prefetch] Create a new JobScheduler task to wake up for net activity. (Closed)
Patch Set: tommycli@ comments. Created 3 years, 7 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/core/prefetch/prefetch_service_impl.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/core/prefetch/prefetch_service_impl.h" 5 #include "components/offline_pages/core/prefetch/prefetch_service_impl.h"
6 6
7 namespace offline_pages { 7 namespace offline_pages {
8 8
9 PrefetchServiceImpl::PrefetchServiceImpl() {} 9 PrefetchServiceImpl::PrefetchServiceImpl() {}
10 PrefetchServiceImpl::~PrefetchServiceImpl() = default; 10 PrefetchServiceImpl::~PrefetchServiceImpl() = default;
11 11
12 void PrefetchServiceImpl::AddCandidatePrefetchURLs( 12 void PrefetchServiceImpl::AddCandidatePrefetchURLs(
13 const std::vector<PrefetchURL>& url_suggestions) { 13 const std::vector<PrefetchURL>& url_suggestions) {
14 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
15 } 15 }
16 void PrefetchServiceImpl::RemoveAllUnprocessedPrefetchURLs( 16 void PrefetchServiceImpl::RemoveAllUnprocessedPrefetchURLs(
17 const std::string& name_space) { 17 const std::string& name_space) {
18 NOTIMPLEMENTED(); 18 NOTIMPLEMENTED();
19 } 19 }
20 20
21 void PrefetchServiceImpl::RemovePrefetchURLsByClientId( 21 void PrefetchServiceImpl::RemovePrefetchURLsByClientId(
22 const ClientId& client_id) { 22 const ClientId& client_id) {
23 NOTIMPLEMENTED(); 23 NOTIMPLEMENTED();
24 } 24 }
25 25
26 void PrefetchServiceImpl::BeginBackgroundTask(
27 std::unique_ptr<ScopedBackgroundTask> task) {
28 NOTIMPLEMENTED();
29 }
30
31 void PrefetchServiceImpl::StopBackgroundTask(ScopedBackgroundTask* task) {
32 NOTIMPLEMENTED();
33 }
34
26 void PrefetchServiceImpl::Shutdown() {} 35 void PrefetchServiceImpl::Shutdown() {}
27 36
28 } // namespace offline_pages 37 } // namespace offline_pages
OLDNEW
« no previous file with comments | « components/offline_pages/core/prefetch/prefetch_service_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698