#ifndef CHROME_UPDATER_IPC_IPC_SUPPORT_H_
#define CHROME_UPDATER_IPC_IPC_SUPPORT_H_
#include <memory>
#include "base/threading/thread.h"
#include "mojo/core/embedder/embedder.h"
#include "mojo/core/embedder/scoped_ipc_support.h"
namespace updater {
class ScopedIPCSupportWrapper {
public:
ScopedIPCSupportWrapper();
ScopedIPCSupportWrapper(const ScopedIPCSupportWrapper&) = delete;
ScopedIPCSupportWrapper& operator=(const ScopedIPCSupportWrapper) = delete;
~ScopedIPCSupportWrapper();
private:
base::Thread ipc_thread_ = base::Thread("ipc!");
std::unique_ptr<mojo::core::ScopedIPCSupport> ipc_support_;
};
}
#endif