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

Unified Diff: mojo/edk/platform/message_loop_for_io.h

Issue 1507903006: EDK: Remove mojo::platform::MessageLoopForIO and add PlatformHandleWatcher. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: mojo/edk/platform/message_loop_for_io.h
diff --git a/mojo/edk/platform/message_loop_for_io.h b/mojo/edk/platform/message_loop_for_io.h
deleted file mode 100644
index a80f284a332227a6442ec69dfd44b597c2391a0f..0000000000000000000000000000000000000000
--- a/mojo/edk/platform/message_loop_for_io.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 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.
-
-// This file provides an interface for "message loops for I/O", which are used
-// within the EDK itself.
-
-#ifndef MOJO_EDK_PLATFORM_MESSAGE_LOOP_FOR_IO_H_
-#define MOJO_EDK_PLATFORM_MESSAGE_LOOP_FOR_IO_H_
-
-#include "mojo/edk/platform/message_loop.h"
-#include "mojo/public/cpp/system/macros.h"
-
-namespace mojo {
-namespace platform {
-
-// Interface for "message loops for I/O", which are |MessageLoop|s that can
-// watch native handles (file descriptors).
-// TODO(vtl): Currently, we don't add any methods. Obviously, we'll need to do
-// so in the future. (Currently, things will just reach out in appropriately and
-// get the |base::MessageLoopForIO|.)
-class MessageLoopForIO : public MessageLoop {
- public:
- ~MessageLoopForIO() override {}
-
- protected:
- MessageLoopForIO() {}
-
- private:
- MOJO_DISALLOW_COPY_AND_ASSIGN(MessageLoopForIO);
-};
-
-} // namespace platform
-} // namespace mojo
-
-#endif // MOJO_EDK_PLATFORM_MESSAGE_LOOP_FOR_IO_H_

Powered by Google App Engine
This is Rietveld 408576698