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

Unified Diff: mojo/gles2/command_buffer_client_impl.h

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/gles2/command_buffer_client_impl.h
diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h
index c867e4df2c55d80c6763f0b667665af3c9e21aee..a41c50cf571fb6a4d7288143baa7fd5fdc0e29a1 100644
--- a/mojo/gles2/command_buffer_client_impl.h
+++ b/mojo/gles2/command_buffer_client_impl.h
@@ -13,7 +13,6 @@
#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/command_buffer/common/command_buffer_shared.h"
#include "mojo/public/cpp/bindings/error_handler.h"
-#include "mojo/public/cpp/bindings/remote_ptr.h"
#include "mojo/services/gles2/command_buffer.mojom.h"
namespace base {
@@ -43,7 +42,7 @@ class CommandBufferClientImpl : public CommandBufferClient,
explicit CommandBufferClientImpl(
CommandBufferDelegate* delegate,
MojoAsyncWaiter* async_waiter,
- ScopedCommandBufferHandle command_buffer_handle);
+ ScopedMessagePipeHandle command_buffer_handle);
virtual ~CommandBufferClientImpl();
// CommandBuffer implementation:
@@ -98,8 +97,8 @@ class CommandBufferClientImpl : public CommandBufferClient,
gpu::CommandBufferSharedState* shared_state() const { return shared_state_; }
CommandBufferDelegate* delegate_;
- RemotePtr<mojo::CommandBuffer> command_buffer_;
- scoped_ptr<SyncDispatcher<CommandBufferSyncClient> > sync_dispatcher_;
+ CommandBufferPtr command_buffer_;
+ // XXX scoped_ptr<SyncDispatcher<CommandBufferSyncClient> > sync_dispatcher_;
State last_state_;
mojo::ScopedSharedBufferHandle shared_state_handle_;

Powered by Google App Engine
This is Rietveld 408576698