OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_HTTP_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
7 | 7 |
8 #include <string> | |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "net/base/auth.h" |
12 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
13 #include "net/http/http_request_info.h" | 13 #include "net/http/http_request_info.h" |
14 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class HttpResponseInfo; | 17 class HttpResponseInfo; |
18 class HttpTransaction; | 18 class HttpTransaction; |
19 } | 19 } |
20 class URLRequestContext; | 20 class URLRequestContext; |
21 | 21 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 GURL sdch_dictionary_url_; | 85 GURL sdch_dictionary_url_; |
86 | 86 |
87 // Keep a reference to the url request context to be sure it's not deleted | 87 // Keep a reference to the url request context to be sure it's not deleted |
88 // before us. | 88 // before us. |
89 scoped_refptr<URLRequestContext> context_; | 89 scoped_refptr<URLRequestContext> context_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 91 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
92 }; | 92 }; |
93 | 93 |
94 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 94 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |