| Index: mojo/edk/embedder/scoped_ipc_support.h
|
| diff --git a/ipc/mojo/scoped_ipc_support.h b/mojo/edk/embedder/scoped_ipc_support.h
|
| similarity index 57%
|
| rename from ipc/mojo/scoped_ipc_support.h
|
| rename to mojo/edk/embedder/scoped_ipc_support.h
|
| index 1ef26fc97ca30f0749a181782f32a8b7c234e7b4..a3b32da3b726d9508ef44c5c9a9f4f0508a444ec 100644
|
| --- a/ipc/mojo/scoped_ipc_support.h
|
| +++ b/mojo/edk/embedder/scoped_ipc_support.h
|
| @@ -2,22 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef IPC_MOJO_SCOPED_IPC_SUPPORT_H_
|
| -#define IPC_MOJO_SCOPED_IPC_SUPPORT_H_
|
| +#ifndef MOJO_EDK_EMBEDDER_SCOPED_IPC_SUPPORT_H_
|
| +#define MOJO_EDK_EMBEDDER_SCOPED_IPC_SUPPORT_H_
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/task_runner.h"
|
| +#include "mojo/edk/system/system_impl_export.h"
|
|
|
| -namespace IPC {
|
| +namespace mojo {
|
| +namespace edk {
|
|
|
| -// Performs any necessary Mojo IPC initialization on construction, and shuts
|
| -// down Mojo IPC on destruction.
|
| +// Performs any necessary Mojo initialization on construction, and shuts
|
| +// down Mojo on destruction.
|
| //
|
| -// This should be instantiated once per process and retained as long as Mojo IPC
|
| +// This should be instantiated once per process and retained as long as Mojo
|
| // is needed. The TaskRunner passed to the constructor should outlive this
|
| // object.
|
| -class ScopedIPCSupport {
|
| +class MOJO_SYSTEM_IMPL_EXPORT ScopedIPCSupport {
|
| public:
|
| ScopedIPCSupport(scoped_refptr<base::TaskRunner> io_thread_task_runner);
|
| ~ScopedIPCSupport();
|
| @@ -26,6 +28,7 @@ class ScopedIPCSupport {
|
| DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport);
|
| };
|
|
|
| -} // namespace IPC
|
| +} // namespace edk
|
| +} // namespace mojo
|
|
|
| -#endif // IPC_MOJO_SCOPED_IPC_SUPPORT_H_
|
| +#endif // MOJO_EDK_EMBEDDER_SCOPED_IPC_SUPPORT_H_
|
|
|