| 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 NET_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 11 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 12 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
| 13 | 15 |
| 14 namespace net { | 16 namespace net { |
| 15 | 17 |
| 16 class URLRequest; | 18 class URLRequest; |
| 17 | 19 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 66 |
| 65 std::string data_; | 67 std::string data_; |
| 66 size_t data_offset_; | 68 size_t data_offset_; |
| 67 bool request_client_certificate_; | 69 bool request_client_certificate_; |
| 68 base::WeakPtrFactory<URLRequestMockDataJob> weak_factory_; | 70 base::WeakPtrFactory<URLRequestMockDataJob> weak_factory_; |
| 69 }; | 71 }; |
| 70 | 72 |
| 71 } // namespace net | 73 } // namespace net |
| 72 | 74 |
| 73 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ | 75 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ |
| OLD | NEW |