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

Unified Diff: ppapi/thunk/ppb_talk_private_api.h

Issue 16271005: Implement pepper interface and plumbing for HRD's UI on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use IPC::Message::Schema::Read in unittest - build break Created 7 years, 6 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/interfaces_ppb_private.h ('k') | ppapi/thunk/ppb_talk_private_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_talk_private_api.h
diff --git a/ppapi/thunk/ppb_talk_private_api.h b/ppapi/thunk/ppb_talk_private_api.h
index 5a4f06c1b9c975a6ed7ec3216bfbe4b457ca1396..a31cf9dcc143a980033d993188377fc6a601d6f4 100644
--- a/ppapi/thunk/ppb_talk_private_api.h
+++ b/ppapi/thunk/ppb_talk_private_api.h
@@ -6,6 +6,7 @@
#define PPAPI_THUNK_PPB_TALK_PRIVATE_API_H_
#include "base/memory/ref_counted.h"
+#include "ppapi/c/private/ppb_talk_private.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
namespace ppapi {
@@ -18,7 +19,15 @@ class PPAPI_THUNK_EXPORT PPB_Talk_Private_API {
public:
virtual ~PPB_Talk_Private_API() {}
- virtual int32_t GetPermission(scoped_refptr<TrackedCallback> callback) = 0;
+ virtual int32_t RequestPermission(
+ PP_TalkPermission permission,
+ scoped_refptr<TrackedCallback> callback) = 0;
+ virtual int32_t StartRemoting(
+ PP_TalkEventCallback event_callback,
+ void* user_data,
+ scoped_refptr<TrackedCallback> callback) = 0;
+ virtual int32_t StopRemoting(
+ scoped_refptr<TrackedCallback> callback) = 0;
};
} // namespace thunk
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private.h ('k') | ppapi/thunk/ppb_talk_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698