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

Unified Diff: ppapi/thunk/extensions_common_api.h

Issue 15039008: Add browser resource host for Apps v2 APIs in Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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
« no previous file with comments | « ppapi/proxy/extensions_common_resource.cc ('k') | ppapi/thunk/ppb_ext_alarms_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/extensions_common_api.h
diff --git a/ppapi/thunk/extensions_common_api.h b/ppapi/thunk/extensions_common_api.h
index 7772c5c09ec714ad5a24c07c18703b4de9ca729a..5afb73fac90deef6ee75a0140a4054a4df579ea6 100644
--- a/ppapi/thunk/extensions_common_api.h
+++ b/ppapi/thunk/extensions_common_api.h
@@ -21,12 +21,18 @@ class PPAPI_THUNK_EXPORT ExtensionsCommon_API {
public:
virtual ~ExtensionsCommon_API() {}
- virtual int32_t Call(const std::string& request_name,
- const std::vector<PP_Var>& input_args,
- const std::vector<PP_Var*>& output_args,
- scoped_refptr<TrackedCallback> callback) = 0;
- virtual void Post(const std::string& request_name,
- const std::vector<PP_Var>& args) = 0;
+ virtual int32_t CallRenderer(const std::string& request_name,
+ const std::vector<PP_Var>& input_args,
+ const std::vector<PP_Var*>& output_args,
+ scoped_refptr<TrackedCallback> callback) = 0;
+ virtual void PostRenderer(const std::string& request_name,
+ const std::vector<PP_Var>& args) = 0;
+ virtual int32_t CallBrowser(const std::string& request_name,
+ const std::vector<PP_Var>& input_args,
+ const std::vector<PP_Var*>& output_args,
+ scoped_refptr<TrackedCallback> callback) = 0;
+ virtual void PostBrowser(const std::string& request_name,
+ const std::vector<PP_Var>& args) = 0;
static const SingletonResourceID kSingletonResourceID =
EXTENSIONS_COMMON_SINGLETON_ID;
« no previous file with comments | « ppapi/proxy/extensions_common_resource.cc ('k') | ppapi/thunk/ppb_ext_alarms_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698