| 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 13 matching lines...) Expand all Loading... |
| 24 #include "net/base/network_delegate.h" | 24 #include "net/base/network_delegate.h" |
| 25 #include "net/base/request_priority.h" | 25 #include "net/base/request_priority.h" |
| 26 #include "net/cookies/canonical_cookie.h" | 26 #include "net/cookies/canonical_cookie.h" |
| 27 #include "net/http/http_request_headers.h" | 27 #include "net/http/http_request_headers.h" |
| 28 #include "net/http/http_response_info.h" | 28 #include "net/http/http_response_info.h" |
| 29 #include "net/url_request/url_request_status.h" | 29 #include "net/url_request/url_request_status.h" |
| 30 | 30 |
| 31 class FilePath; | 31 class FilePath; |
| 32 // Temporary layering violation to allow existing users of a deprecated | 32 // Temporary layering violation to allow existing users of a deprecated |
| 33 // interface. | 33 // interface. |
| 34 class AutoUpdateInterceptor; | |
| 35 class ChildProcessSecurityPolicyTest; | 34 class ChildProcessSecurityPolicyTest; |
| 36 class ComponentUpdateInterceptor; | 35 class ComponentUpdateInterceptor; |
| 37 class TestAutomationProvider; | 36 class TestAutomationProvider; |
| 38 class URLRequestAutomationJob; | 37 class URLRequestAutomationJob; |
| 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. |
| 62 namespace extensions { | 61 namespace extensions { |
| 62 class AutoUpdateInterceptor; |
| 63 class UserScriptListenerTest; | 63 class UserScriptListenerTest; |
| 64 } | 64 } |
| 65 | 65 |
| 66 // Temporary layering violation to allow existing users of a deprecated | 66 // Temporary layering violation to allow existing users of a deprecated |
| 67 // interface. | 67 // interface. |
| 68 namespace fileapi { | 68 namespace fileapi { |
| 69 class FileSystemDirURLRequestJobTest; | 69 class FileSystemDirURLRequestJobTest; |
| 70 class FileSystemURLRequestJobTest; | 70 class FileSystemURLRequestJobTest; |
| 71 class FileWriterDelegateTest; | 71 class FileWriterDelegateTest; |
| 72 } | 72 } |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 // returned. | 174 // returned. |
| 175 virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request); | 175 virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 // Deprecated interfaces in net::URLRequest. They have been moved to | 178 // Deprecated interfaces in net::URLRequest. They have been moved to |
| 179 // URLRequest's private section to prevent new uses. Existing uses are | 179 // URLRequest's private section to prevent new uses. Existing uses are |
| 180 // explicitly friended here and should be removed over time. | 180 // explicitly friended here and should be removed over time. |
| 181 class NET_EXPORT Deprecated { | 181 class NET_EXPORT Deprecated { |
| 182 private: | 182 private: |
| 183 // TODO(willchan): Kill off these friend declarations. | 183 // TODO(willchan): Kill off these friend declarations. |
| 184 friend class ::AutoUpdateInterceptor; | 184 friend class extensions::AutoUpdateInterceptor; |
| 185 friend class ::ChildProcessSecurityPolicyTest; | 185 friend class ::ChildProcessSecurityPolicyTest; |
| 186 friend class ::ComponentUpdateInterceptor; | 186 friend class ::ComponentUpdateInterceptor; |
| 187 friend class ::TestAutomationProvider; | 187 friend class ::TestAutomationProvider; |
| 188 friend class ::URLRequestAutomationJob; | 188 friend class ::URLRequestAutomationJob; |
| 189 friend class TestInterceptor; | 189 friend class TestInterceptor; |
| 190 friend class URLRequestFilter; | 190 friend class URLRequestFilter; |
| 191 friend class appcache::AppCacheInterceptor; | 191 friend class appcache::AppCacheInterceptor; |
| 192 friend class appcache::AppCacheRequestHandlerTest; | 192 friend class appcache::AppCacheRequestHandlerTest; |
| 193 friend class appcache::AppCacheURLRequestJobTest; | 193 friend class appcache::AppCacheURLRequestJobTest; |
| 194 friend class content::ResourceDispatcherHostTest; | 194 friend class content::ResourceDispatcherHostTest; |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 base::TimeTicks creation_time_; | 816 base::TimeTicks creation_time_; |
| 817 | 817 |
| 818 scoped_ptr<const base::debug::StackTrace> stack_trace_; | 818 scoped_ptr<const base::debug::StackTrace> stack_trace_; |
| 819 | 819 |
| 820 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 820 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
| 821 }; | 821 }; |
| 822 | 822 |
| 823 } // namespace net | 823 } // namespace net |
| 824 | 824 |
| 825 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 825 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
| OLD | NEW |