| 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 17 matching lines...) Expand all Loading... |
| 28 #include "net/url_request/url_request_status.h" | 28 #include "net/url_request/url_request_status.h" |
| 29 | 29 |
| 30 class FilePath; | 30 class FilePath; |
| 31 // Temporary layering violation to allow existing users of a deprecated | 31 // Temporary layering violation to allow existing users of a deprecated |
| 32 // interface. | 32 // interface. |
| 33 class AutoUpdateInterceptor; | 33 class AutoUpdateInterceptor; |
| 34 class ChildProcessSecurityPolicyTest; | 34 class ChildProcessSecurityPolicyTest; |
| 35 class ComponentUpdateInterceptor; | 35 class ComponentUpdateInterceptor; |
| 36 class TestAutomationProvider; | 36 class TestAutomationProvider; |
| 37 class URLRequestAutomationJob; | 37 class URLRequestAutomationJob; |
| 38 class UserScriptListenerTest; | |
| 39 | 38 |
| 40 namespace base { | 39 namespace base { |
| 41 namespace debug { | 40 namespace debug { |
| 42 class StackTrace; | 41 class StackTrace; |
| 43 } | 42 } |
| 44 } | 43 } |
| 45 | 44 |
| 46 // Temporary layering violation to allow existing users of a deprecated | 45 // Temporary layering violation to allow existing users of a deprecated |
| 47 // interface. | 46 // interface. |
| 48 namespace appcache { | 47 namespace appcache { |
| 49 class AppCacheInterceptor; | 48 class AppCacheInterceptor; |
| 50 class AppCacheRequestHandlerTest; | 49 class AppCacheRequestHandlerTest; |
| 51 class AppCacheURLRequestJobTest; | 50 class AppCacheURLRequestJobTest; |
| 52 } | 51 } |
| 53 | 52 |
| 54 // Temporary layering violation to allow existing users of a deprecated | 53 // Temporary layering violation to allow existing users of a deprecated |
| 55 // interface. | 54 // interface. |
| 56 namespace content { | 55 namespace content { |
| 57 class ResourceDispatcherHostTest; | 56 class ResourceDispatcherHostTest; |
| 58 } | 57 } |
| 59 | 58 |
| 60 // Temporary layering violation to allow existing users of a deprecated | 59 // Temporary layering violation to allow existing users of a deprecated |
| 61 // interface. | 60 // interface. |
| 61 namespace extensions { |
| 62 class UserScriptListenerTest; |
| 63 } |
| 64 |
| 65 // Temporary layering violation to allow existing users of a deprecated |
| 66 // interface. |
| 62 namespace fileapi { | 67 namespace fileapi { |
| 63 class FileSystemDirURLRequestJobTest; | 68 class FileSystemDirURLRequestJobTest; |
| 64 class FileSystemURLRequestJobTest; | 69 class FileSystemURLRequestJobTest; |
| 65 class FileWriterDelegateTest; | 70 class FileWriterDelegateTest; |
| 66 } | 71 } |
| 67 | 72 |
| 68 // Temporary layering violation to allow existing users of a deprecated | 73 // Temporary layering violation to allow existing users of a deprecated |
| 69 // interface. | 74 // interface. |
| 70 namespace policy { | 75 namespace policy { |
| 71 class CannedResponseInterceptor; | 76 class CannedResponseInterceptor; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // Deprecated interfaces in net::URLRequest. They have been moved to | 178 // Deprecated interfaces in net::URLRequest. They have been moved to |
| 174 // URLRequest's private section to prevent new uses. Existing uses are | 179 // URLRequest's private section to prevent new uses. Existing uses are |
| 175 // explicitly friended here and should be removed over time. | 180 // explicitly friended here and should be removed over time. |
| 176 class NET_EXPORT Deprecated { | 181 class NET_EXPORT Deprecated { |
| 177 private: | 182 private: |
| 178 // TODO(willchan): Kill off these friend declarations. | 183 // TODO(willchan): Kill off these friend declarations. |
| 179 friend class ::AutoUpdateInterceptor; | 184 friend class ::AutoUpdateInterceptor; |
| 180 friend class ::ChildProcessSecurityPolicyTest; | 185 friend class ::ChildProcessSecurityPolicyTest; |
| 181 friend class ::ComponentUpdateInterceptor; | 186 friend class ::ComponentUpdateInterceptor; |
| 182 friend class ::TestAutomationProvider; | 187 friend class ::TestAutomationProvider; |
| 183 friend class ::UserScriptListenerTest; | |
| 184 friend class ::URLRequestAutomationJob; | 188 friend class ::URLRequestAutomationJob; |
| 185 friend class TestInterceptor; | 189 friend class TestInterceptor; |
| 186 friend class URLRequestFilter; | 190 friend class URLRequestFilter; |
| 187 friend class appcache::AppCacheInterceptor; | 191 friend class appcache::AppCacheInterceptor; |
| 188 friend class appcache::AppCacheRequestHandlerTest; | 192 friend class appcache::AppCacheRequestHandlerTest; |
| 189 friend class appcache::AppCacheURLRequestJobTest; | 193 friend class appcache::AppCacheURLRequestJobTest; |
| 190 friend class content::ResourceDispatcherHostTest; | 194 friend class content::ResourceDispatcherHostTest; |
| 195 friend class extensions::UserScriptListenerTest; |
| 191 friend class fileapi::FileSystemDirURLRequestJobTest; | 196 friend class fileapi::FileSystemDirURLRequestJobTest; |
| 192 friend class fileapi::FileSystemURLRequestJobTest; | 197 friend class fileapi::FileSystemURLRequestJobTest; |
| 193 friend class fileapi::FileWriterDelegateTest; | 198 friend class fileapi::FileWriterDelegateTest; |
| 194 friend class policy::CannedResponseInterceptor; | 199 friend class policy::CannedResponseInterceptor; |
| 195 friend class webkit_blob::BlobURLRequestJobTest; | 200 friend class webkit_blob::BlobURLRequestJobTest; |
| 196 | 201 |
| 197 // Use URLRequestJobFactory::ProtocolHandler instead. | 202 // Use URLRequestJobFactory::ProtocolHandler instead. |
| 198 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, | 203 static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme, |
| 199 ProtocolFactory* factory); | 204 ProtocolFactory* factory); |
| 200 | 205 |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 base::TimeTicks creation_time_; | 805 base::TimeTicks creation_time_; |
| 801 | 806 |
| 802 scoped_ptr<const base::debug::StackTrace> stack_trace_; | 807 scoped_ptr<const base::debug::StackTrace> stack_trace_; |
| 803 | 808 |
| 804 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 809 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
| 805 }; | 810 }; |
| 806 | 811 |
| 807 } // namespace net | 812 } // namespace net |
| 808 | 813 |
| 809 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 814 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
| OLD | NEW |