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

Unified Diff: ppapi/thunk/ppb_ext_alarms_thunk.cc

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/thunk/extensions_common_api.h ('k') | ppapi/thunk/ppb_ext_socket_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_ext_alarms_thunk.cc
diff --git a/ppapi/thunk/ppb_ext_alarms_thunk.cc b/ppapi/thunk/ppb_ext_alarms_thunk.cc
index cd805aee592ad0cea1f2a8853e71791e99ec3026..2fc88d08f5b3a9d8a3ef936347ee7758a3e20bb8 100644
--- a/ppapi/thunk/ppb_ext_alarms_thunk.cc
+++ b/ppapi/thunk/ppb_ext_alarms_thunk.cc
@@ -25,7 +25,7 @@ void Create(PP_Instance instance,
std::vector<PP_Var> args;
args.push_back(name);
args.push_back(alarm_info);
- enter.functions()->Post("alarms.create", args);
+ enter.functions()->PostRenderer("alarms.create", args);
}
int32_t Get(PP_Instance instance,
@@ -40,7 +40,7 @@ int32_t Get(PP_Instance instance,
std::vector<PP_Var*> output_args;
input_args.push_back(name);
output_args.push_back(alarm);
- return enter.SetResult(enter.functions()->Call(
+ return enter.SetResult(enter.functions()->CallRenderer(
"alarms.get", input_args, output_args, enter.callback()));
}
@@ -54,7 +54,7 @@ int32_t GetAll(PP_Instance instance,
std::vector<PP_Var> input_args;
std::vector<PP_Var*> output_args;
output_args.push_back(alarms);
- return enter.SetResult(enter.functions()->Call(
+ return enter.SetResult(enter.functions()->CallRenderer(
"alarms.getAll", input_args, output_args, enter.callback()));
}
@@ -65,7 +65,7 @@ void Clear(PP_Instance instance, PP_Var name) {
std::vector<PP_Var> args;
args.push_back(name);
- enter.functions()->Post("alarms.clear", args);
+ enter.functions()->PostRenderer("alarms.clear", args);
}
void ClearAll(PP_Instance instance) {
@@ -74,7 +74,7 @@ void ClearAll(PP_Instance instance) {
return;
std::vector<PP_Var> args;
- enter.functions()->Post("alarms.clearAll", args);
+ enter.functions()->PostRenderer("alarms.clearAll", args);
}
const PPB_Ext_Alarms_Dev_0_1 g_ppb_ext_alarms_dev_0_1_thunk = {
« no previous file with comments | « ppapi/thunk/extensions_common_api.h ('k') | ppapi/thunk/ppb_ext_socket_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698