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

Unified Diff: content/child/request_extra_data.h

Issue 2652123002: PlzNavigate: Attempt to fix blink layout tests which fail due to duplicate output from WebFrameClie… (Closed)
Patch Set: Fix redness Created 3 years, 11 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 | « components/test_runner/web_test_delegate.h ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index d544989a41b618358c6cc5a704e684eff6ea7b8e..730af141d4f7489fce2013cdf3ad43fa364dfda4 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -158,6 +158,15 @@ class CONTENT_EXPORT RequestExtraData
block_mixed_plugin_content_ = block_mixed_plugin_content;
}
+ // PlzNavigate
+ // Indicates whether a navigation was initiated by the browser or renderer.
+ bool navigation_initiated_by_renderer() const {
+ return navigation_initiated_by_renderer_;
+ }
+ void set_navigation_initiated_by_renderer(bool navigation_by_renderer) {
+ navigation_initiated_by_renderer_ = navigation_by_renderer;
+ }
+
void CopyToResourceRequest(ResourceRequest* request) const;
private:
@@ -181,6 +190,7 @@ class CONTENT_EXPORT RequestExtraData
bool is_prefetch_;
bool download_to_network_cache_only_;
bool block_mixed_plugin_content_;
+ bool navigation_initiated_by_renderer_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698