| 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 CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual int GetRenderFrameID() const OVERRIDE; | 72 virtual int GetRenderFrameID() const OVERRIDE; |
| 73 virtual bool IsMainFrame() const OVERRIDE; | 73 virtual bool IsMainFrame() const OVERRIDE; |
| 74 virtual int64 GetFrameID() const OVERRIDE; | 74 virtual int64 GetFrameID() const OVERRIDE; |
| 75 virtual bool ParentIsMainFrame() const OVERRIDE; | 75 virtual bool ParentIsMainFrame() const OVERRIDE; |
| 76 virtual int64 GetParentFrameID() const OVERRIDE; | 76 virtual int64 GetParentFrameID() const OVERRIDE; |
| 77 virtual ResourceType::Type GetResourceType() const OVERRIDE; | 77 virtual ResourceType::Type GetResourceType() const OVERRIDE; |
| 78 virtual blink::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE; | 78 virtual blink::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE; |
| 79 virtual PageTransition GetPageTransition() const OVERRIDE; | 79 virtual PageTransition GetPageTransition() const OVERRIDE; |
| 80 virtual bool HasUserGesture() const OVERRIDE; | 80 virtual bool HasUserGesture() const OVERRIDE; |
| 81 virtual bool WasIgnoredByHandler() const OVERRIDE; | 81 virtual bool WasIgnoredByHandler() const OVERRIDE; |
| 82 virtual bool GetAssociatedRenderView(int* render_process_id, | |
| 83 int* render_view_id) const OVERRIDE; | |
| 84 virtual bool GetAssociatedRenderFrame(int* render_process_id, | 82 virtual bool GetAssociatedRenderFrame(int* render_process_id, |
| 85 int* render_frame_id) const OVERRIDE; | 83 int* render_frame_id) const OVERRIDE; |
| 86 virtual bool IsAsync() const OVERRIDE; | 84 virtual bool IsAsync() const OVERRIDE; |
| 87 virtual bool IsDownload() const OVERRIDE; | 85 virtual bool IsDownload() const OVERRIDE; |
| 88 | 86 |
| 89 | 87 |
| 90 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); | 88 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); |
| 91 | 89 |
| 92 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const; | 90 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const; |
| 93 GlobalRoutingID GetGlobalRoutingID() const; | 91 GlobalRoutingID GetGlobalRoutingID() const; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // exits during a transfer. | 186 // exits during a transfer. |
| 189 base::WeakPtr<ResourceMessageFilter> filter_; | 187 base::WeakPtr<ResourceMessageFilter> filter_; |
| 190 bool is_async_; | 188 bool is_async_; |
| 191 | 189 |
| 192 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 190 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
| 193 }; | 191 }; |
| 194 | 192 |
| 195 } // namespace content | 193 } // namespace content |
| 196 | 194 |
| 197 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 195 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| OLD | NEW |