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

Unified Diff: ppapi/thunk/ppb_flash_functions_api.h

Issue 11359063: Refactor the way singleton-style resources are exposed via PPB_Instance (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
« no previous file with comments | « ppapi/thunk/ppb_flash_clipboard_thunk.cc ('k') | ppapi/thunk/ppb_gamepad_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_flash_functions_api.h
diff --git a/ppapi/thunk/ppb_flash_functions_api.h b/ppapi/thunk/ppb_flash_functions_api.h
index 73fa1184b13668a6eb175a120f2ea5f0b27fbb9b..8b7013783e033f5cc4e45f0cf5bdcdf1ee0ab0c9 100644
--- a/ppapi/thunk/ppb_flash_functions_api.h
+++ b/ppapi/thunk/ppb_flash_functions_api.h
@@ -5,6 +5,7 @@
#ifndef PPAPI_THUNK_PPB_FLASH_FUNCTIONS_API_H_
#define PPAPI_THUNK_PPB_FLASH_FUNCTIONS_API_H_
+#include "ppapi/shared_impl/singleton_resource_id.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
struct PP_ArrayOutput;
@@ -18,6 +19,8 @@ namespace thunk {
class PPAPI_THUNK_EXPORT PPB_Flash_Functions_API {
public:
virtual ~PPB_Flash_Functions_API() {}
+
+ static const SingletonResourceID kSingletonResourceID = FLASH_SINGLETON_ID;
};
} // namespace thunk
« no previous file with comments | « ppapi/thunk/ppb_flash_clipboard_thunk.cc ('k') | ppapi/thunk/ppb_gamepad_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698