| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/download/internal/test/empty_client.h" |
| 6 |
| 7 namespace download { |
| 8 namespace test { |
| 9 |
| 10 void EmptyClient::OnServiceInitialized( |
| 11 const std::vector<std::string>& outstanding_download_guids) {} |
| 12 |
| 13 Client::ShouldDownload EmptyClient::OnDownloadStarted( |
| 14 const std::string& guid, |
| 15 const std::vector<GURL>& url_chain, |
| 16 const scoped_refptr<const net::HttpResponseHeaders>& headers) { |
| 17 return Client::ShouldDownload::CONTINUE; |
| 18 } |
| 19 |
| 20 void EmptyClient::OnDownloadUpdated(const std::string& guid, |
| 21 uint64_t bytes_downloaded) {} |
| 22 |
| 23 void EmptyClient::OnDownloadFailed(const std::string& guid) {} |
| 24 |
| 25 void EmptyClient::OnDownloadTimedOut(const std::string& guid) {} |
| 26 |
| 27 void EmptyClient::OnDownloadAborted(const std::string& guid) {} |
| 28 |
| 29 void EmptyClient::OnDownloadSucceeded(const std::string& guid, |
| 30 const base::FilePath& path, |
| 31 uint64_t size) {} |
| 32 |
| 33 } // namespace test |
| 34 } // namespace download |
| OLD | NEW |