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

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

Issue 2690533002: Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: rebase Created 3 years, 10 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
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_SIMPLE_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
16 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
17 #include "net/url_request/url_range_request_job.h" 17 #include "net/url_request/url_range_request_job.h"
18 18
19 namespace base { 19 namespace base {
20 class RefCountedMemory; 20 class RefCountedMemory;
21 class TaskRunner;
21 } 22 }
22 23
23 namespace net { 24 namespace net {
24 25
25 class URLRequest; 26 class URLRequest;
26 27
27 class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob { 28 class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob {
28 public: 29 public:
29 URLRequestSimpleJob(URLRequest* request, NetworkDelegate* network_delegate); 30 URLRequestSimpleJob(URLRequest* request, NetworkDelegate* network_delegate);
30 31
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 std::string charset_; 75 std::string charset_;
75 scoped_refptr<base::RefCountedMemory> data_; 76 scoped_refptr<base::RefCountedMemory> data_;
76 int64_t next_data_offset_; 77 int64_t next_data_offset_;
77 scoped_refptr<base::TaskRunner> task_runner_; 78 scoped_refptr<base::TaskRunner> task_runner_;
78 base::WeakPtrFactory<URLRequestSimpleJob> weak_factory_; 79 base::WeakPtrFactory<URLRequestSimpleJob> weak_factory_;
79 }; 80 };
80 81
81 } // namespace net 82 } // namespace net
82 83
83 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_ 84 #endif // NET_URL_REQUEST_URL_REQUEST_SIMPLE_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698