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

Unified Diff: content/child/npapi/plugin_url_fetcher.cc

Issue 203853003: Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h (attempt #2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 9 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/child/request_extra_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_url_fetcher.cc
diff --git a/content/child/npapi/plugin_url_fetcher.cc b/content/child/npapi/plugin_url_fetcher.cc
index d6204357bbb7950f77cf86dc28c9765e564adbf4..a1d15306df3c873f6c1fec6f5952de157a873072 100644
--- a/content/child/npapi/plugin_url_fetcher.cc
+++ b/content/child/npapi/plugin_url_fetcher.cc
@@ -108,21 +108,9 @@ PluginURLFetcher::PluginURLFetcher(PluginStreamUrl* plugin_stream,
request_info.request_type = ResourceType::OBJECT;
request_info.routing_id = render_view_id;
- RequestExtraData extra_data(blink::WebPageVisibilityStateVisible,
- base::string16(),
- false,
- render_frame_id,
- false,
- GURL(),
- false,
- -1,
- true,
- PAGE_TRANSITION_LINK,
- false,
- -1,
- -1,
- kInvalidServiceWorkerProviderId);
-
+ RequestExtraData extra_data;
+ extra_data.set_render_frame_id(render_frame_id);
+ extra_data.set_is_main_frame(false);
request_info.extra_data = &extra_data;
std::vector<char> body;
« no previous file with comments | « no previous file | content/child/request_extra_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698