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

Unified Diff: content/ppapi_plugin/ppapi_thread.h

Issue 10984094: Hook up PpapiPermissions in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/ppapi_plugin/ppapi_thread.h
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h
index 03298097f6059880f9d43e9491cf6c3364a5ba80..8c6185a931cd0d33a39423e373c0d9982b86edd0 100644
--- a/content/ppapi_plugin/ppapi_thread.h
+++ b/content/ppapi_plugin/ppapi_thread.h
@@ -67,7 +67,8 @@ class PpapiThread : public ChildThread,
virtual void SetActiveURL(const std::string& url) OVERRIDE;
// Message handlers.
- void OnMsgLoadPlugin(const FilePath& path);
+ void OnMsgLoadPlugin(const FilePath& path,
+ const ppapi::PpapiPermissions& permissions);
void OnMsgCreateChannel(int renderer_id,
bool incognito);
void OnMsgResourceReply(
@@ -90,6 +91,8 @@ class PpapiThread : public ChildThread,
base::ScopedNativeLibrary library_;
+ ppapi::PpapiPermissions permissions_;
+
// Global state tracking for the proxy.
ppapi::proxy::PluginGlobals plugin_globals_;

Powered by Google App Engine
This is Rietveld 408576698