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

Side by Side Diff: sky/engine/bindings/dart_io.cc

Issue 1107803002: Add Observatory to sky dart_controller (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 #include "sky/engine/config.h" 5 #include "dart_io.h"
6 #include "sky/engine/tonic/dart_class_provider.h" 6
7 #include "bin/eventhandler.h"
8 #include "bin/thread.h"
7 9
8 namespace blink { 10 namespace blink {
9 11
10 DartClassProvider::~DartClassProvider() { 12 void BootstrapDartIo() {
13 // Bootstrap 'dart:io' event handler.
14 dart::bin::Thread::InitOnce();
15 dart::bin::EventHandler::Start();
11 } 16 }
12 17
13 } // namespace blink 18 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698