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

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

Issue 23503043: Load NPAPI plugin resources through the browser process directly instead of going through the render (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 3 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: content/child/npapi/plugin_stream.cc
===================================================================
--- content/child/npapi/plugin_stream.cc (revision 222566)
+++ content/child/npapi/plugin_stream.cc (working copy)
@@ -45,13 +45,6 @@
free(const_cast<char*>(stream_.url));
}
-void PluginStream::UpdateUrl(const char* url) {
- DCHECK(!opened_);
- free(const_cast<char*>(stream_.url));
- stream_.url = base::strdup(url);
- pending_redirect_url_.clear();
-}
-
bool PluginStream::Open(const std::string& mime_type,
const std::string& headers,
uint32 length,

Powered by Google App Engine
This is Rietveld 408576698