| OLD | NEW |
| 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; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 void PrefetchServiceImpl::BeginBackgroundTask( | 26 void PrefetchServiceImpl::BeginBackgroundTask( |
| 27 std::unique_ptr<ScopedBackgroundTask> task) { | 27 std::unique_ptr<ScopedBackgroundTask> task) { |
| 28 NOTIMPLEMENTED(); | 28 NOTIMPLEMENTED(); |
| 29 } | 29 } |
| 30 | 30 |
| 31 void PrefetchServiceImpl::StopBackgroundTask(ScopedBackgroundTask* task) { | 31 void PrefetchServiceImpl::StopBackgroundTask(ScopedBackgroundTask* task) { |
| 32 NOTIMPLEMENTED(); | 32 NOTIMPLEMENTED(); |
| 33 } | 33 } |
| 34 | 34 |
| 35 void PrefetchServiceImpl::ShutdownHandler() {} |
| 36 |
| 37 void PrefetchServiceImpl::OnStoreReset() {} |
| 38 |
| 39 void PrefetchServiceImpl::OnMessage(const std::string& app_id, |
| 40 const gcm::IncomingMessage& message) { |
| 41 DVLOG(1) << "PrefetchServiceImpl " << __func__ << ":" << message.raw_data; |
| 42 } |
| 43 |
| 44 void PrefetchServiceImpl::OnMessagesDeleted(const std::string& app_id) { |
| 45 NOTIMPLEMENTED(); |
| 46 } |
| 47 |
| 48 void PrefetchServiceImpl::OnSendError( |
| 49 const std::string& app_id, |
| 50 const gcm::GCMClient::SendErrorDetails& send_error_details) { |
| 51 // We should never get here, since we are not sending GCM upstream. |
| 52 NOTREACHED(); |
| 53 } |
| 54 |
| 55 void PrefetchServiceImpl::OnSendAcknowledged(const std::string& app_id, |
| 56 const std::string& message_id) { |
| 57 // We should never get here, since we are not sending GCM upstream. |
| 58 NOTREACHED(); |
| 59 } |
| 60 |
| 35 void PrefetchServiceImpl::Shutdown() {} | 61 void PrefetchServiceImpl::Shutdown() {} |
| 36 | 62 |
| 37 } // namespace offline_pages | 63 } // namespace offline_pages |
| OLD | NEW |