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

Unified Diff: content/browser/devtools/protocol/page_handler.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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index c366e15327b0358b7cebdb3cb370056ab50df0bd..4efbdbdf64d13aa34152d22a296cb3c57cb0b5b4 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -59,7 +59,9 @@ class PageHandler : public DevToolsDomainHandler,
Response Reload(Maybe<bool> bypassCache,
Maybe<std::string> script_to_evaluate_on_load) override;
- Response Navigate(const std::string& url, Page::FrameId* frame_id) override;
+ Response Navigate(const std::string& url,
+ Maybe<std::string> referrer,
+ Page::FrameId* frame_id) override;
Response StopLoading() override;
using NavigationEntries = protocol::Array<Page::NavigationEntry>;
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698