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

Unified Diff: ppapi/thunk/ppb_flash_functions_api.h

Issue 11415140: Refactor 3 PPB_Flash functions to the new 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/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 8b7013783e033f5cc4e45f0cf5bdcdf1ee0ab0c9..4aa3feca332faf705bea998d5b8c61c59a6cc70e 100644
--- a/ppapi/thunk/ppb_flash_functions_api.h
+++ b/ppapi/thunk/ppb_flash_functions_api.h
@@ -5,11 +5,12 @@
#ifndef PPAPI_THUNK_PPB_FLASH_FUNCTIONS_API_H_
#define PPAPI_THUNK_PPB_FLASH_FUNCTIONS_API_H_
+#include <string>
+
+#include "ppapi/c/private/ppb_flash.h"
#include "ppapi/shared_impl/singleton_resource_id.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
-struct PP_ArrayOutput;
-
namespace ppapi {
namespace thunk {
@@ -20,6 +21,13 @@ class PPAPI_THUNK_EXPORT PPB_Flash_Functions_API {
public:
virtual ~PPB_Flash_Functions_API() {}
+ virtual PP_Var GetProxyForURL(PP_Instance instance,
+ const std::string& url) = 0;
+ virtual void UpdateActivity(PP_Instance instance) = 0;
+ virtual PP_Bool SetCrashData(PP_Instance instance,
+ PP_FlashCrashKey key,
+ PP_Var value) = 0;
+
static const SingletonResourceID kSingletonResourceID = FLASH_SINGLETON_ID;
};

Powered by Google App Engine
This is Rietveld 408576698