OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "net/url_request/url_fetcher_delegate.h" | 5 #include "net/url_request/url_fetcher_delegate.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 void URLFetcherDelegate::OnURLFetchDownloadProgress( | 9 void URLFetcherDelegate::OnURLFetchDownloadProgress( |
10 const URLFetcher* source, int64 current, int64 total) {} | 10 const URLFetcher* source, int64 current, int64 total) {} |
11 | 11 |
12 void URLFetcherDelegate::OnURLFetchDownloadData( | |
13 const URLFetcher* source, scoped_ptr<std::string> download_data) {} | |
14 | |
15 void URLFetcherDelegate::OnURLFetchUploadProgress( | 12 void URLFetcherDelegate::OnURLFetchUploadProgress( |
16 const URLFetcher* source, int64 current, int64 total) {} | 13 const URLFetcher* source, int64 current, int64 total) {} |
17 | 14 |
18 bool URLFetcherDelegate::ShouldSendDownloadData() { | |
19 return false; | |
20 } | |
21 | |
22 URLFetcherDelegate::~URLFetcherDelegate() {} | 15 URLFetcherDelegate::~URLFetcherDelegate() {} |
23 | 16 |
24 } // namespace net | 17 } // namespace net |
OLD | NEW |