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

Side by Side Diff: mojo/dart/embedder/core/handle_watcher_patch.dart

Issue 956653003: Dart: Moves |native| methods to patch files. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Adjust analyzer script Created 5 years, 9 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 patch class _MojoHandleWatcherNatives {
6 static int sendControlData(
7 int controlHandle, int mojoHandle, SendPort port, int data)
8 native "MojoHandleWatcher_SendControlData";
9 static List recvControlData(int controlHandle)
10 native "MojoHandleWatcher_RecvControlData";
11 static int setControlHandle(int controlHandle)
12 native "MojoHandleWatcher_SetControlHandle";
13 static int getControlHandle()
14 native "MojoHandleWatcher_GetControlHandle";
15 }
OLDNEW
« no previous file with comments | « mojo/dart/embedder/core/handle_patch.dart ('k') | mojo/dart/embedder/core/message_pipe_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698