Flutter Engine
message_loop_fuchsia.h
Go to the documentation of this file.
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_FML_PLATFORM_FUCHSIA_MESSAGE_LOOP_FUCHSIA_H_
6 #define FLUTTER_FML_PLATFORM_FUCHSIA_MESSAGE_LOOP_FUCHSIA_H_
7 
8 #include <lib/async-loop/cpp/loop.h>
9 
10 #include "flutter/fml/macros.h"
11 #include "flutter/fml/message_loop_impl.h"
12 
13 namespace fml {
14 
16  private:
18 
19  ~MessageLoopFuchsia() override;
20 
21  void Run() override;
22 
23  void Terminate() override;
24 
25  void WakeUp(fml::TimePoint time_point) override;
26 
27  async::Loop loop_;
28 
29  FML_FRIEND_MAKE_REF_COUNTED(MessageLoopFuchsia);
30  FML_FRIEND_REF_COUNTED_THREAD_SAFE(MessageLoopFuchsia);
31  FML_DISALLOW_COPY_AND_ASSIGN(MessageLoopFuchsia);
32 };
33 
34 } // namespace fml
35 
36 #endif // FLUTTER_FML_PLATFORM_FUCHSIA_MESSAGE_LOOP_FUCHSIA_H_
Definition: ascii_trie.cc:9