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