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

Unified Diff: ppapi/proxy/plugin_dispatcher.h

Issue 11359097: Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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: ppapi/proxy/plugin_dispatcher.h
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index a6cc72048fa62992407a4720aa26ad5f97e65c20..1cff5e654e95e887cdbb54f692493f32884b6faf 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -35,6 +35,7 @@ class ResourceCreationAPI;
namespace proxy {
class FlashClipboardResource;
+class FlashFileResource;
class FlashResource;
class GamepadResource;
class ResourceMessageReplyParams;
@@ -54,8 +55,10 @@ struct InstanceData {
// The following are lazily created the first time the plugin requests them.
// (These are singleton-style resources).
scoped_refptr<GamepadResource> gamepad_resource;
- scoped_refptr<FlashResource> flash_resource;
scoped_refptr<FlashClipboardResource> flash_clipboard_resource;
+ scoped_refptr<FlashFileResource> flash_file_resource;
+ scoped_refptr<FlashResource> flash_resource;
+
// Calls to |RequestSurroundingText()| are done by posted tasks. Track whether
// a) a task is pending, to avoid redundant calls, and b) whether we should

Powered by Google App Engine
This is Rietveld 408576698