Flutter Engine
dart_io.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_LIB_IO_DART_IO_H_
6 #define FLUTTER_LIB_IO_DART_IO_H_
7 
8 #include <cstdint>
9 #include <string>
10 
11 #include "flutter/fml/macros.h"
12 
13 namespace flutter {
14 
15 class DartIO {
16  public:
17  static void InitForIsolate(bool may_insecurely_connect_to_all_domains,
18  std::string domain_network_policy);
19 
20  private:
21  FML_DISALLOW_IMPLICIT_CONSTRUCTORS(DartIO);
22 };
23 
24 } // namespace flutter
25 
26 #endif // FLUTTER_LIB_IO_DART_IO_H_
static void InitForIsolate(bool may_insecurely_connect_to_all_domains, std::string domain_network_policy)
Definition: dart_io.cc:18