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

Unified Diff: ppapi/thunk/ppb_flash_clipboard_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
Index: ppapi/thunk/ppb_flash_clipboard_api.h
diff --git a/ppapi/thunk/ppb_flash_clipboard_api.h b/ppapi/thunk/ppb_flash_clipboard_api.h
index ef022c4a7c17cb7c94ccb870dd5796b0ca138fb4..56025faecff4943f8d5b9690b7fb7282b1652d86 100644
--- a/ppapi/thunk/ppb_flash_clipboard_api.h
+++ b/ppapi/thunk/ppb_flash_clipboard_api.h
@@ -5,6 +5,7 @@
#ifndef PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
#define PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
+#include "ppapi/shared_impl/api_id.h"
#include "ppapi/c/private/ppb_flash_clipboard.h"
namespace ppapi {
@@ -32,6 +33,9 @@ class PPB_Flash_Clipboard_API {
uint32_t data_item_count,
const uint32_t formats[],
const PP_Var data_items[]) = 0;
+
+ static const SingletonResourceID kSingletonResourceID =
+ FLASH_CLIPBOARD_SINGLETON_ID;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698