OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(HOST_OS_MACOS) | 6 #if defined(HOST_OS_MACOS) |
7 | 7 |
8 #include "bin/file_system_watcher.h" | 8 #include "bin/file_system_watcher.h" |
9 | 9 |
10 #if !HOST_OS_IOS | 10 #if !HOST_OS_IOS |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 | 409 |
410 void FileSystemWatcher::UnwatchPath(intptr_t id, intptr_t path_id) {} | 410 void FileSystemWatcher::UnwatchPath(intptr_t id, intptr_t path_id) {} |
411 | 411 |
412 intptr_t FileSystemWatcher::Init() { | 412 intptr_t FileSystemWatcher::Init() { |
413 return -1; | 413 return -1; |
414 } | 414 } |
415 | 415 |
416 void FileSystemWatcher::Close(intptr_t id) {} | 416 void FileSystemWatcher::Close(intptr_t id) {} |
417 | 417 |
418 intptr_t FileSystemWatcher::WatchPath(intptr_t id, | 418 intptr_t FileSystemWatcher::WatchPath(intptr_t id, |
| 419 Namespace* namespc, |
419 const char* path, | 420 const char* path, |
420 int events, | 421 int events, |
421 bool recursive) { | 422 bool recursive) { |
422 return -1; | 423 return -1; |
423 } | 424 } |
424 | 425 |
425 } // namespace bin | 426 } // namespace bin |
426 } // namespace dart | 427 } // namespace dart |
427 | 428 |
428 #endif // !HOST_OS_IOS | 429 #endif // !HOST_OS_IOS |
429 #endif // defined(HOST_OS_MACOS) | 430 #endif // defined(HOST_OS_MACOS) |
OLD | NEW |