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

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

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.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
index 665331f140b18398f3f24649ca37d77b14f74f61..0fdc570c331434e2998700ef8c8a5a2845307fab 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
@@ -111,7 +111,9 @@ class CORE_EXPORT InspectorPageAgent final
Response setAutoAttachToCreatedPages(bool) override;
Response reload(Maybe<bool> bypassCache,
Maybe<String> scriptToEvaluateOnLoad) override;
- Response navigate(const String& url, String* frameId) override;
+ Response navigate(const String& url,
+ Maybe<String> referrer,
+ String* frameId) override;
Response stopLoading() override;
Response getResourceTree(
std::unique_ptr<protocol::Page::FrameResourceTree>* frameTree) override;

Powered by Google App Engine
This is Rietveld 408576698