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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 2703253002: devtools: Make it possible to override the navigation referrer (Closed)
Patch Set: Reworked into a inspector protocol test Created 3 years, 10 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: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index 6919dc60f653438c46489a00bc4165c7a1e3f78e..bb3419a778b3275677b702373209a194f0f16377 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -452,7 +452,9 @@ Response InspectorPageAgent::reload(
return Response::OK();
}
-Response InspectorPageAgent::navigate(const String& url, String* outFrameId) {
+Response InspectorPageAgent::navigate(const String& url,
+ Maybe<String> referrer,
+ String* outFrameId) {
*outFrameId = frameId(m_inspectedFrames->root());
return Response::OK();
}

Powered by Google App Engine
This is Rietveld 408576698