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

Unified Diff: content/renderer/pepper/plugin_module.h

Issue 451923002: Add a X-Requested-With header to URL requests for PPAPI Flash (only). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment about -1. Created 6 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
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/plugin_module.h
diff --git a/content/renderer/pepper/plugin_module.h b/content/renderer/pepper/plugin_module.h
index dd25ecf8cb7fcfe94a9313fc167c04299f772eb0..535ee257649b1e7dd6f1d73368db68d23a47454a 100644
--- a/content/renderer/pepper/plugin_module.h
+++ b/content/renderer/pepper/plugin_module.h
@@ -70,6 +70,7 @@ class CONTENT_EXPORT PluginModule : public base::RefCounted<PluginModule>,
// all plugin modules. In practice it will be a global singleton that
// tracks which modules are alive.
PluginModule(const std::string& name,
+ const std::string& version,
const base::FilePath& path,
const ppapi::PpapiPermissions& perms);
@@ -134,6 +135,7 @@ class CONTENT_EXPORT PluginModule : public base::RefCounted<PluginModule>,
PP_Module pp_module() const { return pp_module_; }
const std::string& name() const { return name_; }
+ const std::string& version() const { return version_; }
const base::FilePath& path() const { return path_; }
const ppapi::PpapiPermissions& permissions() const { return permissions_; }
@@ -256,8 +258,9 @@ class CONTENT_EXPORT PluginModule : public base::RefCounted<PluginModule>,
// presence of the host_dispatcher_wrapper_ value.
PepperPluginInfo::EntryPoints entry_points_;
- // The name and file location of the module.
+ // The name, version, and file location of the module.
const std::string name_;
+ const std::string version_;
const base::FilePath path_;
ppapi::PpapiPermissions permissions_;
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698