| OLD | NEW |
| 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/background/request_coordinator.h" | 5 #include "components/offline_pages/background/request_coordinator.h" |
| 6 | 6 |
| 7 // TODO(fgorski): include file with SavePageRequest definition. | 7 #include "components/offline_pages/background/save_page_request.h" |
| 8 | 8 |
| 9 namespace offline_pages { | 9 namespace offline_pages { |
| 10 | 10 |
| 11 // TODO(dougarnett): How to inject Offliner factories and policy objects. | 11 // TODO(dougarnett): How to inject Offliner factories and policy objects. |
| 12 RequestCoordinator::RequestCoordinator() { | 12 RequestCoordinator::RequestCoordinator() { |
| 13 // Do setup as needed. | 13 // Do setup as needed. |
| 14 } | 14 } |
| 15 | 15 |
| 16 RequestCoordinator::~RequestCoordinator() { | 16 RequestCoordinator::~RequestCoordinator() { |
| 17 // Do cleanup as needed. | 17 // Do cleanup as needed. |
| 18 } | 18 } |
| 19 | 19 |
| 20 bool RequestCoordinator::SavePageLater(const SavePageRequest& request) { | 20 bool RequestCoordinator::SavePageLater(const SavePageRequest& request) { |
| 21 return true; | 21 return true; |
| 22 } | 22 } |
| 23 | 23 |
| 24 bool RequestCoordinator::StartProcessing( | 24 bool RequestCoordinator::StartProcessing( |
| 25 const ProcessingDoneCallback& callback) { | 25 const ProcessingDoneCallback& callback) { |
| 26 return false; | 26 return false; |
| 27 } | 27 } |
| 28 | 28 |
| 29 void RequestCoordinator::StopProcessing() { | 29 void RequestCoordinator::StopProcessing() { |
| 30 } | 30 } |
| 31 | 31 |
| 32 } // namespace offline_pages | 32 } // namespace offline_pages |
| OLD | NEW |