OLD | NEW |
---|---|
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_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 #include "net/base/request_priority.h" | 26 #include "net/base/request_priority.h" |
27 #include "net/base/upload_progress.h" | 27 #include "net/base/upload_progress.h" |
28 #include "net/cookies/canonical_cookie.h" | 28 #include "net/cookies/canonical_cookie.h" |
29 #include "net/http/http_request_headers.h" | 29 #include "net/http/http_request_headers.h" |
30 #include "net/http/http_response_info.h" | 30 #include "net/http/http_response_info.h" |
31 #include "net/url_request/url_request_status.h" | 31 #include "net/url_request/url_request_status.h" |
32 | 32 |
33 // Temporary layering violation to allow existing users of a deprecated | 33 // Temporary layering violation to allow existing users of a deprecated |
34 // interface. | 34 // interface. |
35 class ChildProcessSecurityPolicyTest; | 35 class ChildProcessSecurityPolicyTest; |
36 class ComponentUpdateInterceptor; | 36 class ComponentUpdateInterceptor; |
mmenke
2013/02/11 17:19:32
Don't believe this is needed any more.
| |
37 class TestAutomationProvider; | 37 class TestAutomationProvider; |
38 class URLRequestAutomationJob; | 38 class URLRequestAutomationJob; |
39 | 39 |
40 namespace base { | 40 namespace base { |
41 namespace debug { | 41 namespace debug { |
42 class StackTrace; | 42 class StackTrace; |
43 } | 43 } |
44 } | 44 } |
45 | 45 |
46 // Temporary layering violation to allow existing users of a deprecated | 46 // Temporary layering violation to allow existing users of a deprecated |
47 // interface. | 47 // interface. |
48 namespace appcache { | 48 namespace appcache { |
49 class AppCacheInterceptor; | 49 class AppCacheInterceptor; |
50 class AppCacheRequestHandlerTest; | 50 class AppCacheRequestHandlerTest; |
51 class AppCacheURLRequestJobTest; | 51 class AppCacheURLRequestJobTest; |
52 } | 52 } |
53 | 53 |
54 // Temporary layering violation to allow existing users of a deprecated | 54 // Temporary layering violation to allow existing users of a deprecated |
55 // interface. | 55 // interface. |
56 namespace content { | 56 namespace content { |
57 class ResourceDispatcherHostTest; | 57 class ResourceDispatcherHostTest; |
58 } | 58 } |
59 | 59 |
60 // Temporary layering violation to allow existing users of a deprecated | 60 // Temporary layering violation to allow existing users of a deprecated |
61 // interface. | 61 // interface. |
62 namespace extensions { | 62 namespace extensions { |
63 class AutoUpdateInterceptor; | 63 class AutoUpdateInterceptor; |
mmenke
2013/02/11 17:19:32
We can remove this, too. Think we can remove the
| |
64 class UserScriptListenerTest; | 64 class UserScriptListenerTest; |
65 } | 65 } |
66 | 66 |
67 // Temporary layering violation to allow existing users of a deprecated | 67 // Temporary layering violation to allow existing users of a deprecated |
68 // interface. | 68 // interface. |
69 namespace fileapi { | 69 namespace fileapi { |
70 class FileSystemDirURLRequestJobTest; | 70 class FileSystemDirURLRequestJobTest; |
71 class FileSystemURLRequestJobTest; | 71 class FileSystemURLRequestJobTest; |
72 class FileWriterDelegateTest; | 72 class FileWriterDelegateTest; |
73 } | 73 } |
74 | 74 |
75 // Temporary layering violation to allow existing users of a deprecated | 75 // Temporary layering violation to allow existing users of a deprecated |
76 // interface. | 76 // interface. |
77 namespace policy { | 77 namespace policy { |
78 class CannedResponseInterceptor; | 78 class CannedResponseInterceptor; |
mmenke
2013/02/11 17:19:32
This doesn't seem to be used any more, either.
| |
79 } | 79 } |
80 | 80 |
81 // Temporary layering violation to allow existing users of a deprecated | 81 // Temporary layering violation to allow existing users of a deprecated |
82 // interface. | 82 // interface. |
83 namespace webkit_blob { | 83 namespace webkit_blob { |
84 class BlobURLRequestJobTest; | 84 class BlobURLRequestJobTest; |
85 } | 85 } |
86 | 86 |
87 namespace net { | 87 namespace net { |
88 | 88 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
199 friend class content::ResourceDispatcherHostTest; | 199 friend class content::ResourceDispatcherHostTest; |
200 friend class fileapi::FileSystemDirURLRequestJobTest; | 200 friend class fileapi::FileSystemDirURLRequestJobTest; |
201 friend class fileapi::FileSystemURLRequestJobTest; | 201 friend class fileapi::FileSystemURLRequestJobTest; |
202 friend class fileapi::FileWriterDelegateTest; | 202 friend class fileapi::FileWriterDelegateTest; |
203 friend class webkit_blob::BlobURLRequestJobTest; | 203 friend class webkit_blob::BlobURLRequestJobTest; |
204 | 204 |
205 // Use URLRequestJobFactory::ProtocolHandler instead. | 205 // Use URLRequestJobFactory::ProtocolHandler instead. |
206 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, | 206 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, |
207 ProtocolFactory* factory); | 207 ProtocolFactory* factory); |
208 | 208 |
209 // Use URLRequestJobFactory::Interceptor instead. | 209 // TODO(pauljensen): Remove this when AppCacheInterceptor is a |
210 // ProtocolHandler, see crbug.com/161547. | |
210 static void RegisterRequestInterceptor(Interceptor* interceptor); | 211 static void RegisterRequestInterceptor(Interceptor* interceptor); |
211 static void UnregisterRequestInterceptor(Interceptor* interceptor); | 212 static void UnregisterRequestInterceptor(Interceptor* interceptor); |
212 | 213 |
213 DISALLOW_IMPLICIT_CONSTRUCTORS(Deprecated); | 214 DISALLOW_IMPLICIT_CONSTRUCTORS(Deprecated); |
214 }; | 215 }; |
215 | 216 |
216 // The delegate's methods are called from the message loop of the thread | 217 // The delegate's methods are called from the message loop of the thread |
217 // on which the request's Start() method is called. See above for the | 218 // on which the request's Start() method is called. See above for the |
218 // ordering of callbacks. | 219 // ordering of callbacks. |
219 // | 220 // |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
853 LoadTimingInfo load_timing_info_; | 854 LoadTimingInfo load_timing_info_; |
854 | 855 |
855 scoped_ptr<const base::debug::StackTrace> stack_trace_; | 856 scoped_ptr<const base::debug::StackTrace> stack_trace_; |
856 | 857 |
857 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 858 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
858 }; | 859 }; |
859 | 860 |
860 } // namespace net | 861 } // namespace net |
861 | 862 |
862 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 863 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
OLD | NEW |