Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: content/browser/loader/resource_request_info_impl.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool is_main_frame, 46 bool is_main_frame,
47 int64 frame_id, 47 int64 frame_id,
48 bool parent_is_main_frame, 48 bool parent_is_main_frame,
49 int64 parent_frame_id, 49 int64 parent_frame_id,
50 ResourceType::Type resource_type, 50 ResourceType::Type resource_type,
51 PageTransition transition_type, 51 PageTransition transition_type,
52 bool is_download, 52 bool is_download,
53 bool is_stream, 53 bool is_stream,
54 bool allow_download, 54 bool allow_download,
55 bool has_user_gesture, 55 bool has_user_gesture,
56 WebKit::WebReferrerPolicy referrer_policy, 56 blink::WebReferrerPolicy referrer_policy,
57 ResourceContext* context, 57 ResourceContext* context,
58 base::WeakPtr<ResourceMessageFilter> filter, 58 base::WeakPtr<ResourceMessageFilter> filter,
59 bool is_async); 59 bool is_async);
60 virtual ~ResourceRequestInfoImpl(); 60 virtual ~ResourceRequestInfoImpl();
61 61
62 // ResourceRequestInfo implementation: 62 // ResourceRequestInfo implementation:
63 virtual ResourceContext* GetContext() const OVERRIDE; 63 virtual ResourceContext* GetContext() const OVERRIDE;
64 virtual int GetChildID() const OVERRIDE; 64 virtual int GetChildID() const OVERRIDE;
65 virtual int GetRouteID() const OVERRIDE; 65 virtual int GetRouteID() const OVERRIDE;
66 virtual int GetOriginPID() const OVERRIDE; 66 virtual int GetOriginPID() const OVERRIDE;
67 virtual int GetRequestID() const OVERRIDE; 67 virtual int GetRequestID() const OVERRIDE;
68 virtual bool IsMainFrame() const OVERRIDE; 68 virtual bool IsMainFrame() const OVERRIDE;
69 virtual int64 GetFrameID() const OVERRIDE; 69 virtual int64 GetFrameID() const OVERRIDE;
70 virtual bool ParentIsMainFrame() const OVERRIDE; 70 virtual bool ParentIsMainFrame() const OVERRIDE;
71 virtual int64 GetParentFrameID() const OVERRIDE; 71 virtual int64 GetParentFrameID() const OVERRIDE;
72 virtual ResourceType::Type GetResourceType() const OVERRIDE; 72 virtual ResourceType::Type GetResourceType() const OVERRIDE;
73 virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE; 73 virtual blink::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE;
74 virtual PageTransition GetPageTransition() const OVERRIDE; 74 virtual PageTransition GetPageTransition() const OVERRIDE;
75 virtual bool HasUserGesture() const OVERRIDE; 75 virtual bool HasUserGesture() const OVERRIDE;
76 virtual bool WasIgnoredByHandler() const OVERRIDE; 76 virtual bool WasIgnoredByHandler() const OVERRIDE;
77 virtual bool GetAssociatedRenderView(int* render_process_id, 77 virtual bool GetAssociatedRenderView(int* render_process_id,
78 int* render_view_id) const OVERRIDE; 78 int* render_view_id) const OVERRIDE;
79 virtual bool IsAsync() const OVERRIDE; 79 virtual bool IsAsync() const OVERRIDE;
80 80
81 81
82 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); 82 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request);
83 83
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool parent_is_main_frame_; 146 bool parent_is_main_frame_;
147 int64 parent_frame_id_; 147 int64 parent_frame_id_;
148 bool is_download_; 148 bool is_download_;
149 bool is_stream_; 149 bool is_stream_;
150 bool allow_download_; 150 bool allow_download_;
151 bool has_user_gesture_; 151 bool has_user_gesture_;
152 bool was_ignored_by_handler_; 152 bool was_ignored_by_handler_;
153 ResourceType::Type resource_type_; 153 ResourceType::Type resource_type_;
154 PageTransition transition_type_; 154 PageTransition transition_type_;
155 int memory_cost_; 155 int memory_cost_;
156 WebKit::WebReferrerPolicy referrer_policy_; 156 blink::WebReferrerPolicy referrer_policy_;
157 ResourceContext* context_; 157 ResourceContext* context_;
158 // The filter might be deleted without deleting this object if the process 158 // The filter might be deleted without deleting this object if the process
159 // exits during a transfer. 159 // exits during a transfer.
160 base::WeakPtr<ResourceMessageFilter> filter_; 160 base::WeakPtr<ResourceMessageFilter> filter_;
161 bool is_async_; 161 bool is_async_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); 163 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
164 }; 164 };
165 165
166 } // namespace content 166 } // namespace content
167 167
168 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ 168 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698