| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H | 5 #ifndef CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H | 6 #define CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "net/url_request/url_request.h" | 8 #include "net/url_request/url_request.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| 11 class IOBuffer; | 11 class IOBuffer; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 // A URL request delegate that receives the response body. | 16 // A URL request delegate that receives the response body. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 void ReadSome(net::URLRequest* request); | 27 void ReadSome(net::URLRequest* request); |
| 28 void ReceiveData(net::URLRequest* request, int bytes_read); | 28 void ReceiveData(net::URLRequest* request, int bytes_read); |
| 29 void RequestComplete(); | 29 void RequestComplete(); |
| 30 | 30 |
| 31 scoped_refptr<net::IOBuffer> io_buffer_; | 31 scoped_refptr<net::IOBuffer> io_buffer_; |
| 32 std::string response_data_; | 32 std::string response_data_; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace content | 35 } // namespace content |
| 36 | 36 |
| 37 #endif // CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H | 37 #endif // CONTENT_BROWSER_FILEAPI_MOCK_URL_REQUEST_DELEGATE_H_ |
| OLD | NEW |