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

Unified Diff: mojo/public/cpp/bindings/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/pipe_control_message_proxy.h
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h b/mojo/public/cpp/bindings/pipe_control_message_proxy.h
similarity index 74%
rename from mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h
rename to mojo/public/cpp/bindings/pipe_control_message_proxy.h
index 97cec5bbbf49e76aff4932bf81f888ca33e667d3..7f3e006e09da297e23ad2f33e8853f85359a972f 100644
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h
+++ b/mojo/public/cpp/bindings/pipe_control_message_proxy.h
@@ -2,8 +2,8 @@
// 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_
+#ifndef MOJO_PUBLIC_CPP_BINDINGS_PIPE_CONTROL_MESSAGE_PROXY_H_
+#define MOJO_PUBLIC_CPP_BINDINGS_PIPE_CONTROL_MESSAGE_PROXY_H_
#include "base/macros.h"
#include "mojo/public/cpp/bindings/interface_id.h"
@@ -13,8 +13,6 @@ namespace mojo {
class MessageReceiver;
-namespace internal {
-
// Proxy for request messages defined in pipe_control_messages.mojom.
class PipeControlMessageProxy {
public:
@@ -27,12 +25,11 @@ class PipeControlMessageProxy {
private:
// Not owned.
MessageReceiver* receiver_;
- SerializationContext context_;
+ internal::SerializationContext context_;
DISALLOW_COPY_AND_ASSIGN(PipeControlMessageProxy);
};
-} // namespace internal
} // namespace mojo
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_PROXY_H_
+#endif // MOJO_PUBLIC_CPP_BINDINGS_PIPE_CONTROL_MESSAGE_PROXY_H_
« no previous file with comments | « mojo/public/cpp/bindings/pipe_control_message_handler_delegate.h ('k') | mojo/public/cpp/bindings/strong_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698