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

Side by Side Diff: ppapi/thunk/ppb_mojo_api.h

Issue 598183002: Pepper: PPB_Mojo prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_mojo_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_THUNK_PPB_MOJO_API_H_
6 #define PPAPI_THUNK_PPB_MOJO_API_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "ppapi/shared_impl/singleton_resource_id.h"
10 #include "ppapi/thunk/ppapi_thunk_export.h"
11
12 namespace ppapi {
13 namespace thunk {
14
15 class PPAPI_THUNK_EXPORT PPB_Mojo_API {
16 public:
17 virtual ~PPB_Mojo_API() {}
18
19 virtual int32_t GetHandle(PP_Instance instance,
20 uint32_t* out_mojo_handle,
21 scoped_refptr<TrackedCallback> callback) = 0;
22
23 static const SingletonResourceID kSingletonResourceID = MOJO_SINGLETON_ID;
24 };
25
26 } // namespace thunk
27 } // namespace ppapi
28
29 #endif // PPAPI_THUNK_PPB_MOJO_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_mojo_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698