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

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

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 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
« no previous file with comments | « runtime/bin/file_openbsd.cc ('k') | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013, 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 #include "platform/globals.h"
6 #if defined(TARGET_OS_OPENBSD)
7
8 #include "bin/file_system_watcher.h"
9
10 #include "platform/signal_blocker.h"
11
12 namespace dart {
13 namespace bin {
14
15 bool FileSystemWatcher::IsSupported() {
16 /* There is no inotify API on OpenBSD*/
17 return false;
18 }
19
20
21 intptr_t FileSystemWatcher::Init() {
22 UNIMPLEMENTED();
23 return 0;
24 }
25
26
27 void FileSystemWatcher::Close(intptr_t id) {
28 UNIMPLEMENTED();
29 }
30
31
32 intptr_t FileSystemWatcher::WatchPath(intptr_t id,
33 const char* path,
34 int events,
35 bool recursive) {
36 UNIMPLEMENTED();
37 return 0;
38 }
39
40
41 void FileSystemWatcher::UnwatchPath(intptr_t id, intptr_t path_id) {
42 UNIMPLEMENTED();
43 }
44
45
46 intptr_t FileSystemWatcher::GetSocketId(intptr_t id, intptr_t path_id) {
47 UNIMPLEMENTED();
48 return id;
49 }
50
51
52 Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
53 UNIMPLEMENTED();
54 Dart_Handle events = Dart_NewList(0);
55 return events;
56 }
57
58 } // namespace bin
59 } // namespace dart
60
61 #endif // defined(TARGET_OS_OPENBSD)
OLDNEW
« no previous file with comments | « runtime/bin/file_openbsd.cc ('k') | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698