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

Side by Side Diff: content/browser/frame_host/navigator.h

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/browser/frame_host/navigator_delegate.h" 10 #include "content/browser/frame_host/navigator_delegate.h"
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 namespace content { 24 namespace content {
25 25
26 class FrameNavigationEntry; 26 class FrameNavigationEntry;
27 class FrameTreeNode; 27 class FrameTreeNode;
28 class NavigationControllerImpl; 28 class NavigationControllerImpl;
29 class NavigationEntryImpl; 29 class NavigationEntryImpl;
30 class NavigationRequest; 30 class NavigationRequest;
31 class RenderFrameHostImpl; 31 class RenderFrameHostImpl;
32 class ResourceRequestBody; 32 class ResourceRequestBodyImpl;
33 class StreamHandle; 33 class StreamHandle;
34 struct BeginNavigationParams; 34 struct BeginNavigationParams;
35 struct CommonNavigationParams; 35 struct CommonNavigationParams;
36 struct ResourceResponse; 36 struct ResourceResponse;
37 37
38 // Implementations of this interface are responsible for performing navigations 38 // Implementations of this interface are responsible for performing navigations
39 // in a node of the FrameTree. Its lifetime is bound to all FrameTreeNode 39 // in a node of the FrameTree. Its lifetime is bound to all FrameTreeNode
40 // objects that are using it and will be released once all nodes that use it are 40 // objects that are using it and will be released once all nodes that use it are
41 // freed. The Navigator is bound to a single frame tree and cannot be used by 41 // freed. The Navigator is bound to a single frame tree and cannot be used by
42 // multiple instances of FrameTree. 42 // multiple instances of FrameTree.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void RequestTransferURL( 125 virtual void RequestTransferURL(
126 RenderFrameHostImpl* render_frame_host, 126 RenderFrameHostImpl* render_frame_host,
127 const GURL& url, 127 const GURL& url,
128 SiteInstance* source_site_instance, 128 SiteInstance* source_site_instance,
129 const std::vector<GURL>& redirect_chain, 129 const std::vector<GURL>& redirect_chain,
130 const Referrer& referrer, 130 const Referrer& referrer,
131 ui::PageTransition page_transition, 131 ui::PageTransition page_transition,
132 const GlobalRequestID& transferred_global_request_id, 132 const GlobalRequestID& transferred_global_request_id,
133 bool should_replace_current_entry, 133 bool should_replace_current_entry,
134 const std::string& method, 134 const std::string& method,
135 scoped_refptr<ResourceRequestBody> post_body) {} 135 scoped_refptr<ResourceRequestBodyImpl> post_body) {}
136 136
137 // PlzNavigate 137 // PlzNavigate
138 // Called after receiving a BeforeUnloadACK IPC from the renderer. If 138 // Called after receiving a BeforeUnloadACK IPC from the renderer. If
139 // |frame_tree_node| has a NavigationRequest waiting for the renderer 139 // |frame_tree_node| has a NavigationRequest waiting for the renderer
140 // response, then the request is either started or canceled, depending on the 140 // response, then the request is either started or canceled, depending on the
141 // value of |proceed|. 141 // value of |proceed|.
142 virtual void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, 142 virtual void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node,
143 bool proceed) {} 143 bool proceed) {}
144 144
145 // PlzNavigate 145 // PlzNavigate
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const base::TimeTicks& renderer_before_unload_end_time) {} 179 const base::TimeTicks& renderer_before_unload_end_time) {}
180 180
181 protected: 181 protected:
182 friend class base::RefCounted<Navigator>; 182 friend class base::RefCounted<Navigator>;
183 virtual ~Navigator() {} 183 virtual ~Navigator() {}
184 }; 184 };
185 185
186 } // namespace content 186 } // namespace content
187 187
188 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 188 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request_info.h ('k') | content/browser/frame_host/navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698