| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // interface. | 46 // interface. |
| 47 namespace appcache { | 47 namespace appcache { |
| 48 class AppCacheInterceptor; | 48 class AppCacheInterceptor; |
| 49 class AppCacheRequestHandlerTest; | 49 class AppCacheRequestHandlerTest; |
| 50 class AppCacheURLRequestJobTest; | 50 class AppCacheURLRequestJobTest; |
| 51 } | 51 } |
| 52 | 52 |
| 53 // Temporary layering violation to allow existing users of a deprecated | 53 // Temporary layering violation to allow existing users of a deprecated |
| 54 // interface. | 54 // interface. |
| 55 namespace content { | 55 namespace content { |
| 56 class BlobURLRequestJobTest; |
| 57 class FileSystemDirURLRequestJobTest; |
| 58 class FileSystemURLRequestJobTest; |
| 59 class FileWriterDelegateTest; |
| 56 class ResourceDispatcherHostTest; | 60 class ResourceDispatcherHostTest; |
| 57 } | 61 } |
| 58 | 62 |
| 59 // Temporary layering violation to allow existing users of a deprecated | |
| 60 // interface. | |
| 61 namespace fileapi { | |
| 62 class FileSystemDirURLRequestJobTest; | |
| 63 class FileSystemURLRequestJobTest; | |
| 64 class FileWriterDelegateTest; | |
| 65 } | |
| 66 | |
| 67 // Temporary layering violation to allow existing users of a deprecated | |
| 68 // interface. | |
| 69 namespace webkit_blob { | |
| 70 class BlobURLRequestJobTest; | |
| 71 } | |
| 72 | |
| 73 namespace net { | 63 namespace net { |
| 74 | 64 |
| 75 class CookieOptions; | 65 class CookieOptions; |
| 76 class HostPortPair; | 66 class HostPortPair; |
| 77 class IOBuffer; | 67 class IOBuffer; |
| 78 struct LoadTimingInfo; | 68 struct LoadTimingInfo; |
| 79 class SSLCertRequestInfo; | 69 class SSLCertRequestInfo; |
| 80 class SSLInfo; | 70 class SSLInfo; |
| 81 class UploadDataStream; | 71 class UploadDataStream; |
| 82 class URLRequestContext; | 72 class URLRequestContext; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // explicitly friended here and should be removed over time. | 163 // explicitly friended here and should be removed over time. |
| 174 class NET_EXPORT Deprecated { | 164 class NET_EXPORT Deprecated { |
| 175 private: | 165 private: |
| 176 // TODO(willchan): Kill off these friend declarations. | 166 // TODO(willchan): Kill off these friend declarations. |
| 177 friend class ::ChildProcessSecurityPolicyTest; | 167 friend class ::ChildProcessSecurityPolicyTest; |
| 178 friend class TestInterceptor; | 168 friend class TestInterceptor; |
| 179 friend class URLRequestFilter; | 169 friend class URLRequestFilter; |
| 180 friend class appcache::AppCacheInterceptor; | 170 friend class appcache::AppCacheInterceptor; |
| 181 friend class appcache::AppCacheRequestHandlerTest; | 171 friend class appcache::AppCacheRequestHandlerTest; |
| 182 friend class appcache::AppCacheURLRequestJobTest; | 172 friend class appcache::AppCacheURLRequestJobTest; |
| 173 friend class content::BlobURLRequestJobTest; |
| 174 friend class content::FileSystemDirURLRequestJobTest; |
| 175 friend class content::FileSystemURLRequestJobTest; |
| 176 friend class content::FileWriterDelegateTest; |
| 183 friend class content::ResourceDispatcherHostTest; | 177 friend class content::ResourceDispatcherHostTest; |
| 184 friend class fileapi::FileSystemDirURLRequestJobTest; | |
| 185 friend class fileapi::FileSystemURLRequestJobTest; | |
| 186 friend class fileapi::FileWriterDelegateTest; | |
| 187 friend class webkit_blob::BlobURLRequestJobTest; | |
| 188 | 178 |
| 189 // Use URLRequestJobFactory::ProtocolHandler instead. | 179 // Use URLRequestJobFactory::ProtocolHandler instead. |
| 190 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, | 180 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, |
| 191 ProtocolFactory* factory); | 181 ProtocolFactory* factory); |
| 192 | 182 |
| 193 // TODO(pauljensen): Remove this when AppCacheInterceptor is a | 183 // TODO(pauljensen): Remove this when AppCacheInterceptor is a |
| 194 // ProtocolHandler, see crbug.com/161547. | 184 // ProtocolHandler, see crbug.com/161547. |
| 195 static void RegisterRequestInterceptor(Interceptor* interceptor); | 185 static void RegisterRequestInterceptor(Interceptor* interceptor); |
| 196 static void UnregisterRequestInterceptor(Interceptor* interceptor); | 186 static void UnregisterRequestInterceptor(Interceptor* interceptor); |
| 197 | 187 |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 | 894 |
| 905 // Keeps track of whether or not OnBeforeNetworkStart has been called yet. | 895 // Keeps track of whether or not OnBeforeNetworkStart has been called yet. |
| 906 bool notified_before_network_start_; | 896 bool notified_before_network_start_; |
| 907 | 897 |
| 908 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 898 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
| 909 }; | 899 }; |
| 910 | 900 |
| 911 } // namespace net | 901 } // namespace net |
| 912 | 902 |
| 913 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 903 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
| OLD | NEW |