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

Unified Diff: mojo/public/cpp/bindings/lib/pipe_control_message_proxy.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_proxy.h
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h
deleted file mode 100644
index 97cec5bbbf49e76aff4932bf81f888ca33e667d3..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h
+++ /dev/null
@@ -1,38 +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_PROXY_H_
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_PROXY_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/interface_id.h"
-#include "mojo/public/cpp/bindings/lib/serialization_context.h"
-
-namespace mojo {
-
-class MessageReceiver;
-
-namespace internal {
-
-// Proxy for request messages defined in pipe_control_messages.mojom.
-class PipeControlMessageProxy {
- public:
- // Doesn't take ownership of |receiver|. It must outlive this object.
- explicit PipeControlMessageProxy(MessageReceiver* receiver);
-
- void NotifyPeerEndpointClosed(InterfaceId id);
- void NotifyEndpointClosedBeforeSent(InterfaceId id);
-
- private:
- // Not owned.
- MessageReceiver* receiver_;
- SerializationContext context_;
-
- DISALLOW_COPY_AND_ASSIGN(PipeControlMessageProxy);
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698