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

Side by Side Diff: mojo/public/dart/mojo_init.dart

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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 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 library mojo_init;
6
7 import 'dart:async';
8
9 import 'core.dart' as core;
10 import 'dart-ext:src/mojo_dart_init';
11
12 void _init() native "MojoLibrary_Init";
13 void _mojoSystemThunksMake(Function fn) native "MojoSystemThunks_Make";
14
15 Future<Isolate> mojoInit() {
16 _init();
17 _mojoSystemThunksMake(core.mojoSystemThunksSet);
18 return core.MojoHandleWatcher.Start();
19 }
20
21 void mojoShutdown() {
22 core.MojoHandleWatcher.Stop();
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698