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

Side by Side Diff: third_party/WebKit/Source/core/mojo/MojoHandle.h

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: fixes modulename typo Created 4 years, 2 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
OLDNEW
(Empty)
1 // Copyright 2016 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 MojoHandle_h
6 #define MojoHandle_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h"
10 #include "mojo/public/cpp/system/handle.h"
11
12 namespace blink {
13
14 class CORE_EXPORT MojoHandle : public GarbageCollectedFinalized<MojoHandle>,
15 public ScriptWrappable {
16 DEFINE_WRAPPERTYPEINFO();
17
18 public:
19 MojoHandle(mojo::ScopedHandle);
20 virtual ~MojoHandle();
21
22 MojoResult close();
23
24 DEFINE_INLINE_TRACE() {}
25
26 private:
27 mojo::ScopedHandle m_handle;
28 };
29
30 } // namespace blink
31
32 #endif // MojoHandle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698