Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: runtime/bin/file_system_watcher_fuchsia.cc

Issue 2168193002: Fuchsia: Build standalone VM. Make it run "Hello, World!". (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Cleanup Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 #if !defined(DART_IO_DISABLED)
6
7 #include "platform/globals.h"
8 #if defined(TARGET_OS_FUCHSIA)
9
10 #include "bin/file_system_watcher.h"
11
12 namespace dart {
13 namespace bin {
14
15 Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
16 UNIMPLEMENTED();
17 return DartUtils::NewDartOSError();
18 }
19
20
21 intptr_t FileSystemWatcher::GetSocketId(intptr_t id, intptr_t path_id) {
22 UNIMPLEMENTED();
23 return -1;
24 }
25
26
27 bool FileSystemWatcher::IsSupported() {
28 return false;
29 }
30
31
32 void FileSystemWatcher::UnwatchPath(intptr_t id, intptr_t path_id) {
33 UNIMPLEMENTED();
34 }
35
36
37 intptr_t FileSystemWatcher::Init() {
38 return 0;
39 }
40
41
42 void FileSystemWatcher::Close(intptr_t id) {
43 UNIMPLEMENTED();
44 }
45
46
47 intptr_t FileSystemWatcher::WatchPath(intptr_t id,
48 const char* path,
49 int events,
50 bool recursive) {
51 UNIMPLEMENTED();
52 return -1;
53 }
54
55 } // namespace bin
56 } // namespace dart
57
58 #endif // defined(TARGET_OS_FUCHSIA)
59
60 #endif // !defined(DART_IO_DISABLED)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698