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

Unified Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Rebase + addressed nit Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index c28761be683878d90f79c8c5cbcb610a75461cd0..7e51f50818a97b68a3efced064978718a7413686 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -28,6 +28,7 @@ struct FrameHostMsg_DidCommitProvisionalLoad_Params;
namespace content {
+class NavigationUIData;
class NavigatorDelegate;
class ResourceRequestBodyImpl;
class ServiceWorkerContextWrapper;
@@ -272,6 +273,10 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// Called when the navigation is transferred to a different renderer.
void Transfer();
+ NavigationUIData* navigation_ui_data() const {
+ return navigation_ui_data_.get();
+ }
+
private:
friend class NavigationHandleImplTest;
@@ -385,9 +390,13 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// corresponding ServiceWorkerNetworkProvider is created in the renderer.
std::unique_ptr<ServiceWorkerNavigationHandle> service_worker_handle_;
- // Embedder data tied to this navigation.
+ // Embedder data from the IO thread tied to this navigation.
std::unique_ptr<NavigationData> navigation_data_;
+ // PlzNavigate
+ // Embedder data from the UI thread tied to this navigation.
+ std::unique_ptr<NavigationUIData> navigation_ui_data_;
+
SSLStatus ssl_status_;
// The id of the URLRequest tied to this navigation.
« no previous file with comments | « chrome/browser/renderer_host/chrome_navigation_ui_data.cc ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698