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

Unified Diff: trunk/src/content/renderer/pepper/pepper_url_request_unittest.cc

Issue 22901012: Revert 218305 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/content/renderer/pepper/pepper_url_request_unittest.cc
===================================================================
--- trunk/src/content/renderer/pepper/pepper_url_request_unittest.cc (revision 218542)
+++ trunk/src/content/renderer/pepper/pepper_url_request_unittest.cc (working copy)
@@ -77,7 +77,7 @@
bool GetDownloadToFile() {
WebURLRequest web_request;
URLRequestInfoData data = info_->GetData();
- if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request))
+ if (!CreateWebURLRequest(&data, GetMainFrame(), &web_request))
return false;
return web_request.downloadToFile();
}
@@ -85,7 +85,7 @@
WebCString GetURL() {
WebURLRequest web_request;
URLRequestInfoData data = info_->GetData();
- if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request))
+ if (!CreateWebURLRequest(&data, GetMainFrame(), &web_request))
return WebCString();
return web_request.url().spec();
}
@@ -93,7 +93,7 @@
WebString GetMethod() {
WebURLRequest web_request;
URLRequestInfoData data = info_->GetData();
- if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request))
+ if (!CreateWebURLRequest(&data, GetMainFrame(), &web_request))
return WebString();
return web_request.httpMethod();
}
@@ -101,7 +101,7 @@
WebString GetHeaderValue(const char* field) {
WebURLRequest web_request;
URLRequestInfoData data = info_->GetData();
- if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request))
+ if (!CreateWebURLRequest(&data, GetMainFrame(), &web_request))
return WebString();
return web_request.httpHeaderField(WebString::fromUTF8(field));
}
« no previous file with comments | « trunk/src/content/renderer/pepper/pepper_url_loader_host.cc ('k') | trunk/src/content/renderer/pepper/ppb_file_ref_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698