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

Unified Diff: mojo/embedder/channel_init.h

Issue 346633002: Move channel_init out of mojo_common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix exports Created 6 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
« no previous file with comments | « mojo/dbus/dbus_external_service.cc ('k') | mojo/embedder/channel_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/embedder/channel_init.h
diff --git a/mojo/common/channel_init.h b/mojo/embedder/channel_init.h
similarity index 84%
rename from mojo/common/channel_init.h
rename to mojo/embedder/channel_init.h
index ca134cb233dc90d470a1a22b4e763cc581fc3225..002bd868aec6301818fa423c5426dd7ed7076017 100644
--- a/mojo/common/channel_init.h
+++ b/mojo/embedder/channel_init.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_COMMON_CHANNEL_INIT_H_
-#define MOJO_COMMON_CHANNEL_INIT_H_
+#ifndef MOJO_EMBEDDER_CHANNEL_INIT_H_
+#define MOJO_EMBEDDER_CHANNEL_INIT_H_
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/platform_file.h"
-#include "mojo/common/mojo_common_export.h"
#include "mojo/public/cpp/system/core.h"
+#include "mojo/system/system_impl_export.h"
namespace base {
class MessageLoopProxy;
@@ -21,11 +21,11 @@ namespace embedder {
struct ChannelInfo;
}
-namespace common {
+namespace embedder {
// ChannelInit handle creation (and destruction) of the mojo channel. It is
// expected that this class is created and destroyed on the main thread.
-class MOJO_COMMON_EXPORT ChannelInit {
+class MOJO_SYSTEM_IMPL_EXPORT ChannelInit {
public:
ChannelInit();
~ChannelInit();
@@ -53,7 +53,7 @@ class MOJO_COMMON_EXPORT ChannelInit {
DISALLOW_COPY_AND_ASSIGN(ChannelInit);
};
-} // namespace common
+} // namespace embedder
} // namespace mojo
-#endif // MOJO_COMMON_CHANNEL_INIT_H_
+#endif // MOJO_EMBEDDER_CHANNEL_INIT_H_
« no previous file with comments | « mojo/dbus/dbus_external_service.cc ('k') | mojo/embedder/channel_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698