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

Unified Diff: content/child/request_extra_data.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, 5 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/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 614d9fc321cb528f0584ed885d0726cddd39f708..23b789ad03eefc24cb60a8dbede06226263dca09 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -114,6 +114,12 @@ class CONTENT_EXPORT RequestExtraData
stream_override_ = stream_override.Pass();
}
+ // PlzNavigate:
+ int navigation_provider_id() const { return navigation_provider_id_; }
+ void set_navigation_provider_id(int navigation_provider_id) {
+ navigation_provider_id_ = navigation_provider_id;
+ }
+
private:
blink::WebPageVisibilityState visibility_state_;
int render_frame_id_;
@@ -130,6 +136,7 @@ class CONTENT_EXPORT RequestExtraData
blink::WebString custom_user_agent_;
blink::WebString requested_with_;
scoped_ptr<StreamOverrideParameters> stream_override_;
+ int navigation_provider_id_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};

Powered by Google App Engine
This is Rietveld 408576698