| Index: ppapi/nacl_irt/embedder_service.h
|
| diff --git a/ppapi/nacl_irt/embedder_service.h b/ppapi/nacl_irt/embedder_service.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..84ad14f7f0a7253a810d1632151caa1731901932
|
| --- /dev/null
|
| +++ b/ppapi/nacl_irt/embedder_service.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2014 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 PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
|
| +#define PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +class WaitableEvent;
|
| +} // namespace base
|
| +
|
| +namespace IPC {
|
| +struct ChannelHandle;
|
| +class SyncChannel;
|
| +class SyncMessageFilter;
|
| +} // namespace IPC
|
| +
|
| +namespace ppapi {
|
| +
|
| +class EmbedderService {
|
| + public:
|
| + EmbedderService(const IPC::ChannelHandle& handle,
|
| + scoped_refptr<base::MessageLoopProxy> io_message_loop,
|
| + base::WaitableEvent* shutdown_event);
|
| + ~EmbedderService();
|
| +
|
| + private:
|
| + scoped_ptr<IPC::SyncChannel> channel_;
|
| + scoped_refptr<IPC::SyncMessageFilter> filter_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(EmbedderService);
|
| +};
|
| +
|
| +} // namespace ppapi
|
| +
|
| +#endif // PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
|
|
|