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

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 10886047: Pepper: Add a X-Requested-With header to URL requests done for Pepper plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 8 years 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 | « webkit/plugins/ppapi/plugin_module.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 046140de4834f4f168f35731fec01748e615f636..91d8b2a6cda6795ea72efb4716769ff494a591d0 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -399,6 +399,7 @@ PluginModule::EntryPoints::EntryPoints()
// PluginModule ----------------------------------------------------------------
PluginModule::PluginModule(const std::string& name,
+ const std::string& version,
const FilePath& path,
PluginDelegate::ModuleLifetime* lifetime_delegate,
const ::ppapi::PpapiPermissions& perms)
@@ -409,6 +410,7 @@ PluginModule::PluginModule(const std::string& name,
broker_(NULL),
library_(NULL),
name_(name),
+ version_(version),
path_(path),
permissions_(perms),
reserve_instance_id_(NULL) {
@@ -499,6 +501,7 @@ scoped_refptr<PluginModule> PluginModule::CreateModuleForNaClInstance() {
// plugin in the usual sense, so it isn't tracked by the browser.
scoped_refptr<PluginModule> nacl_module(
new PluginModule(name_,
+ version_,
path_,
NULL, // no lifetime_delegate
permissions_));
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698