| 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 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/url_request/url_request.h" | 10 #include "net/url_request/url_request.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 std::string* charset, | 26 std::string* charset, |
| 27 std::string* data, | 27 std::string* data, |
| 28 HttpResponseHeaders* headers); | 28 HttpResponseHeaders* headers); |
| 29 | 29 |
| 30 URLRequestDataJob(URLRequest* request, NetworkDelegate* network_delegate); | 30 URLRequestDataJob(URLRequest* request, NetworkDelegate* network_delegate); |
| 31 | 31 |
| 32 // URLRequestSimpleJob | 32 // URLRequestSimpleJob |
| 33 virtual int GetData(std::string* mime_type, | 33 virtual int GetData(std::string* mime_type, |
| 34 std::string* charset, | 34 std::string* charset, |
| 35 std::string* data, | 35 std::string* data, |
| 36 const CompletionCallback& callback) const OVERRIDE; | 36 const CompletionCallback& callback) const override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 virtual ~URLRequestDataJob(); | 39 virtual ~URLRequestDataJob(); |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob); | 41 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace net | 44 } // namespace net |
| 45 | 45 |
| 46 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ | 46 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ |
| OLD | NEW |