Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: net/url_request/url_request_test_job.h

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/url_request/url_request_data_job.h ('k') | net/url_request/url_request_throttler_entry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TEST_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "net/base/load_timing_info.h" 11 #include "net/base/load_timing_info.h"
12 #include "net/base/net_export.h"
12 #include "net/url_request/url_request.h" 13 #include "net/url_request/url_request.h"
13 #include "net/url_request/url_request_job.h" 14 #include "net/url_request/url_request_job.h"
14 #include "net/url_request/url_request_job_factory.h" 15 #include "net/url_request/url_request_job_factory.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 // This job type is designed to help with simple unit tests. To use, you 19 // This job type is designed to help with simple unit tests. To use, you
19 // probably want to inherit from it to set up the state you want. Then install 20 // probably want to inherit from it to set up the state you want. Then install
20 // it as the protocol handler for the "test" scheme. 21 // it as the protocol handler for the "test" scheme.
21 // 22 //
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 173
173 // Original size in bytes of the response headers before decoding. 174 // Original size in bytes of the response headers before decoding.
174 int response_headers_length_; 175 int response_headers_length_;
175 176
176 base::WeakPtrFactory<URLRequestTestJob> weak_factory_; 177 base::WeakPtrFactory<URLRequestTestJob> weak_factory_;
177 }; 178 };
178 179
179 } // namespace net 180 } // namespace net
180 181
181 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_ 182 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_data_job.h ('k') | net/url_request/url_request_throttler_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698