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

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

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool is_download, 55 bool is_download,
56 bool is_stream, 56 bool is_stream,
57 bool allow_download, 57 bool allow_download,
58 bool has_user_gesture, 58 bool has_user_gesture,
59 bool enable_load_timing, 59 bool enable_load_timing,
60 blink::WebReferrerPolicy referrer_policy, 60 blink::WebReferrerPolicy referrer_policy,
61 blink::WebPageVisibilityState visibility_state, 61 blink::WebPageVisibilityState visibility_state,
62 ResourceContext* context, 62 ResourceContext* context,
63 base::WeakPtr<ResourceMessageFilter> filter, 63 base::WeakPtr<ResourceMessageFilter> filter,
64 bool is_async); 64 bool is_async);
65 virtual ~ResourceRequestInfoImpl(); 65 ~ResourceRequestInfoImpl() override;
66 66
67 // ResourceRequestInfo implementation: 67 // ResourceRequestInfo implementation:
68 virtual ResourceContext* GetContext() const override; 68 ResourceContext* GetContext() const override;
69 virtual int GetChildID() const override; 69 int GetChildID() const override;
70 virtual int GetRouteID() const override; 70 int GetRouteID() const override;
71 virtual int GetOriginPID() const override; 71 int GetOriginPID() const override;
72 virtual int GetRequestID() const override; 72 int GetRequestID() const override;
73 virtual int GetRenderFrameID() const override; 73 int GetRenderFrameID() const override;
74 virtual bool IsMainFrame() const override; 74 bool IsMainFrame() const override;
75 virtual bool ParentIsMainFrame() const override; 75 bool ParentIsMainFrame() const override;
76 virtual int GetParentRenderFrameID() const override; 76 int GetParentRenderFrameID() const override;
77 virtual ResourceType GetResourceType() const override; 77 ResourceType GetResourceType() const override;
78 virtual int GetProcessType() const override; 78 int GetProcessType() const override;
79 virtual blink::WebReferrerPolicy GetReferrerPolicy() const override; 79 blink::WebReferrerPolicy GetReferrerPolicy() const override;
80 virtual blink::WebPageVisibilityState GetVisibilityState() const override; 80 blink::WebPageVisibilityState GetVisibilityState() const override;
81 virtual ui::PageTransition GetPageTransition() const override; 81 ui::PageTransition GetPageTransition() const override;
82 virtual bool HasUserGesture() const override; 82 bool HasUserGesture() const override;
83 virtual bool WasIgnoredByHandler() const override; 83 bool WasIgnoredByHandler() const override;
84 virtual bool GetAssociatedRenderFrame(int* render_process_id, 84 bool GetAssociatedRenderFrame(int* render_process_id,
85 int* render_frame_id) const override; 85 int* render_frame_id) const override;
86 virtual bool IsAsync() const override; 86 bool IsAsync() const override;
87 virtual bool IsDownload() const override; 87 bool IsDownload() const override;
88
89 88
90 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); 89 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request);
91 90
92 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const; 91 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const;
93 GlobalRoutingID GetGlobalRoutingID() const; 92 GlobalRoutingID GetGlobalRoutingID() const;
94 93
95 // May be NULL (e.g., if process dies during a transfer). 94 // May be NULL (e.g., if process dies during a transfer).
96 ResourceMessageFilter* filter() const { 95 ResourceMessageFilter* filter() const {
97 return filter_.get(); 96 return filter_.get();
98 } 97 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // exits during a transfer. 200 // exits during a transfer.
202 base::WeakPtr<ResourceMessageFilter> filter_; 201 base::WeakPtr<ResourceMessageFilter> filter_;
203 bool is_async_; 202 bool is_async_;
204 203
205 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); 204 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
206 }; 205 };
207 206
208 } // namespace content 207 } // namespace content
209 208
210 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ 209 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_message_filter.h ('k') | content/browser/loader/resource_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698