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
12class VMServiceObject : public vfs::LazyDir {
13 public:
14 static constexpr const char* kDirName = "DartVM";
15 static constexpr const char* kPortDirName = "vmservice-port";
16 static constexpr const char* kPortDir = "/tmp/dart.services";
17
18 void GetContents(LazyEntryVector* out_vector) const override;
19 zx_status_t GetFile(Node** out_node,
20 uint64_t id,
21 std::string name) const override;
22};
23
24} // namespace dart_utils
25
26#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:49