aboutsummaryrefslogtreecommitdiff
path: root/mojo/public/cpp/system/watcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/cpp/system/watcher.cc')
-rw-r--r--mojo/public/cpp/system/watcher.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/mojo/public/cpp/system/watcher.cc b/mojo/public/cpp/system/watcher.cc
deleted file mode 100644
index 0c62ba8..0000000
--- a/mojo/public/cpp/system/watcher.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/public/cpp/system/watcher.h"
-
-#include "mojo/public/c/system/functions.h"
-
-namespace mojo {
-
-MojoResult CreateWatcher(MojoWatcherCallback callback,
- ScopedWatcherHandle* watcher_handle) {
- MojoHandle handle;
- MojoResult rv = MojoCreateWatcher(callback, &handle);
- if (rv == MOJO_RESULT_OK)
- watcher_handle->reset(WatcherHandle(handle));
- return rv;
-}
-
-} // namespace mojo