flutter_flutter/flutter/tonic/dart_microtask_queue.h
Adam Barth 633d674c48 Move tonic to //flutter/tonic (#2742)
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00

21 lines
520 B
C++

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_TONIC_DART_MICROTASK_QUEUE_H_
#define FLUTTER_TONIC_DART_MICROTASK_QUEUE_H_
#include "dart/runtime/include/dart_api.h"
namespace blink {
class DartMicrotaskQueue {
public:
static void ScheduleMicrotask(Dart_Handle callback);
static void RunMicrotasks();
};
} // namespace blink
#endif // FLUTTER_TONIC_DART_MICROTASK_QUEUE_H_