Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
vmservice_object.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_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMSERVICE_OBJECT_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMSERVICE_OBJECT_H_
7
8#include <lib/vfs/cpp/lazy_dir.h>
9
10namespace dart_utils {
11
12#pragma clang diagnostic push
13#pragma clang diagnostic ignored "-Wdeprecated-declarations"
14
15class VMServiceObject : public vfs::LazyDir {
16 public:
17 static constexpr const char* kDirName = "DartVM";
18 static constexpr const char* kPortDirName = "vmservice-port";
19 static constexpr const char* kPortDir = "/tmp/dart.services";
20
21 void GetContents(LazyEntryVector* out_vector) const override;
22 zx_status_t GetFile(Node** out_node,
23 uint64_t id,
24 std::string name) const override;
25};
26
27#pragma clang diagnostic pop
28
29} // namespace dart_utils
30
31#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMSERVICE_OBJECT_H_
void GetContents(LazyEntryVector *out_vector) const override
static constexpr const char * kDirName
static constexpr const char * kPortDirName
zx_status_t GetFile(Node **out_node, uint64_t id, std::string name) const override
static constexpr const char * kPortDir
const char * name
Definition fuchsia.cc:50
Definition dart.idl:29