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/test/url_request/url_request_hanging_read_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/spdy/write_scheduler.h ('k') | net/test/url_request/url_request_mock_data_job.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_HANGING_READ_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HANGING_READ_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HANGING_READ_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HANGING_READ_JOB_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "net/base/net_export.h"
11 #include "net/url_request/url_request_job.h" 10 #include "net/url_request/url_request_job.h"
12 11
13 namespace net { 12 namespace net {
14 13
15 class URLRequest; 14 class URLRequest;
16 15
17 // A URLRequestJob that hangs when try to read response body. 16 // A URLRequestJob that hangs when try to read response body.
18 class URLRequestHangingReadJob : public URLRequestJob { 17 class URLRequestHangingReadJob : public URLRequestJob {
19 public: 18 public:
20 URLRequestHangingReadJob(URLRequest* request, 19 URLRequestHangingReadJob(URLRequest* request,
(...skipping 18 matching lines...) Expand all
39 38
40 const int content_length_; 39 const int content_length_;
41 base::WeakPtrFactory<URLRequestHangingReadJob> weak_factory_; 40 base::WeakPtrFactory<URLRequestHangingReadJob> weak_factory_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(URLRequestHangingReadJob); 42 DISALLOW_COPY_AND_ASSIGN(URLRequestHangingReadJob);
44 }; 43 };
45 44
46 } // namespace net 45 } // namespace net
47 46
48 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ 47 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_
OLDNEW
« no previous file with comments | « net/spdy/write_scheduler.h ('k') | net/test/url_request/url_request_mock_data_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698