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