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

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

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_NAVIGATION_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 scoped_refptr<ResourceRequestBody> body, 128 scoped_refptr<ResourceRequestBody> body,
129 bool browser_initiated, 129 bool browser_initiated,
130 const FrameNavigationEntry* frame_navigation_entry, 130 const FrameNavigationEntry* frame_navigation_entry,
131 const NavigationEntryImpl* navitation_entry); 131 const NavigationEntryImpl* navitation_entry);
132 132
133 // NavigationURLLoaderDelegate implementation. 133 // NavigationURLLoaderDelegate implementation.
134 void OnRequestRedirected( 134 void OnRequestRedirected(
135 const net::RedirectInfo& redirect_info, 135 const net::RedirectInfo& redirect_info,
136 const scoped_refptr<ResourceResponse>& response) override; 136 const scoped_refptr<ResourceResponse>& response) override;
137 void OnResponseStarted(const scoped_refptr<ResourceResponse>& response, 137 void OnResponseStarted(const scoped_refptr<ResourceResponse>& response,
138 scoped_ptr<StreamHandle> body) override; 138 scoped_ptr<StreamHandle> body,
139 int navigation_provider_id) override;
139 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override; 140 void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override;
140 void OnRequestStarted(base::TimeTicks timestamp) override; 141 void OnRequestStarted(base::TimeTicks timestamp) override;
141 142
142 FrameTreeNode* frame_tree_node_; 143 FrameTreeNode* frame_tree_node_;
143 144
144 // Initialized on creation of the NavigationRequest. Sent to the renderer when 145 // Initialized on creation of the NavigationRequest. Sent to the renderer when
145 // the navigation is ready to commit. 146 // the navigation is ready to commit.
146 // Note: When the navigation is ready to commit, the url in |common_params| 147 // Note: When the navigation is ready to commit, the url in |common_params|
147 // will be set to the final navigation url, obtained after following all 148 // will be set to the final navigation url, obtained after following all
148 // redirects. 149 // redirects.
(...skipping 19 matching lines...) Expand all
168 NavigationEntryImpl::RestoreType restore_type_; 169 NavigationEntryImpl::RestoreType restore_type_;
169 bool is_view_source_; 170 bool is_view_source_;
170 int bindings_; 171 int bindings_;
171 172
172 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 173 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
173 }; 174 };
174 175
175 } // namespace content 176 } // namespace content
176 177
177 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 178 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_request.cc » ('j') | content/browser/frame_host/render_frame_host_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698