1// Copyright 2013 The Flutter 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 FLUTTER_TESTING_POST_TASK_SYNC_H_
6#define FLUTTER_TESTING_POST_TASK_SYNC_H_
7
8#include "flutter/fml/task_runner.h"
9
10namespace flutter {
11namespace testing {
12
13void PostTaskSync(const fml::RefPtr<fml::TaskRunner>& task_runner,
14 const std::function<void()>& function);
15
16} // namespace testing
17} // namespace flutter
18
19#endif // FLUTTER_TESTING_POST_TASK_SYNC_H_
20

source code of flutter_engine/flutter/testing/post_task_sync.h

Morty Proxy This is a proxified and sanitized view of the page, visit original site.