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

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

Issue 2114523002: Move more Mojo bindings helpers out of internal namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@group-controller
Patch Set: rebase 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/pipe_control_message_handler_delegate.h
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_handler_delegate.h b/mojo/public/cpp/bindings/lib/pipe_control_message_handler_delegate.h
deleted file mode 100644
index 025acb9a0a3ceb59af1b0f63039cb5ec544f1d8b..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_handler_delegate.h
+++ /dev/null
@@ -1,28 +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.
-
-#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_DELEGATE_H_
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_DELEGATE_H_
-
-#include "mojo/public/cpp/bindings/interface_id.h"
-
-namespace mojo {
-namespace internal {
-
-class PipeControlMessageHandlerDelegate {
- public:
- // The implementation of the following methods should return false if the
- // notification is unexpected. In that case, the user of this delegate is
- // expected to close the message pipe.
- virtual bool OnPeerAssociatedEndpointClosed(InterfaceId id) = 0;
- virtual bool OnAssociatedEndpointClosedBeforeSent(InterfaceId id) = 0;
-
- protected:
- virtual ~PipeControlMessageHandlerDelegate() {}
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698