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

Unified Diff: mojo/public/cpp/bindings/lib/interface_endpoint_controller.h

Issue 2100683002: Mojo C++ Bindings: Extract AssociatedGroupController from MultiplexRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops more gyp ugh Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/lib/interface_endpoint_controller.h
diff --git a/mojo/public/cpp/bindings/lib/interface_endpoint_controller.h b/mojo/public/cpp/bindings/lib/interface_endpoint_controller.h
deleted file mode 100644
index f91a34629d965279b43867736a94e48d4ef7f6bd..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/bindings/lib/interface_endpoint_controller.h
+++ /dev/null
@@ -1,39 +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.
-
-#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CONTROLLER_H_
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CONTROLLER_H_
-
-namespace mojo {
-
-class Message;
-
-namespace internal {
-
-// A control interface exposed by MultiplexRouter for interface endpoints.
-class InterfaceEndpointController {
- public:
- virtual ~InterfaceEndpointController() {}
-
- virtual bool SendMessage(Message* message) = 0;
-
- // Allows the interface endpoint to watch for incoming sync messages while
- // others perform sync handle watching on the same thread. Please see comments
- // of SyncHandleWatcher::AllowWokenUpBySyncWatchOnSameThread().
- virtual void AllowWokenUpBySyncWatchOnSameThread() = 0;
-
- // Watches the interface endpoint for incoming sync messages. (It also watches
- // other other handles registered to be watched together.)
- // This method:
- // - returns true when |should_stop| is set to true;
- // - return false otherwise, including
- // MultiplexRouter::DetachEndpointClient() being called for the same
- // interface endpoint.
- virtual bool SyncWatch(const bool* should_stop) = 0;
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CONTROLLER_H_
« no previous file with comments | « mojo/public/cpp/bindings/lib/interface_endpoint_client.cc ('k') | mojo/public/cpp/bindings/lib/interface_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698