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

Unified Diff: gpu/command_buffer/common/command_buffer_mock.h

Issue 6557006: Moved creation of GPU transfer buffers into the browser process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: gpu/command_buffer/common/command_buffer_mock.h
===================================================================
--- gpu/command_buffer/common/command_buffer_mock.h (revision 75655)
+++ gpu/command_buffer/common/command_buffer_mock.h (working copy)
@@ -8,6 +8,10 @@
#include "../common/command_buffer.h"
#include "testing/gmock/include/gmock/gmock.h"
+namespace base {
+class SharedMemory;
+}
+
namespace gpu {
// An NPObject that implements a shared memory command buffer and a synchronous
@@ -26,6 +30,8 @@
MOCK_METHOD1(CreateTransferBuffer, int32(size_t size));
MOCK_METHOD1(DestroyTransferBuffer, void(int32 handle));
MOCK_METHOD1(GetTransferBuffer, Buffer(int32 handle));
+ MOCK_METHOD2(RegisterTransferBuffer, int32(base::SharedMemory* shared_memory,
+ size_t size));
MOCK_METHOD1(SetToken, void(int32 token));
MOCK_METHOD1(SetParseError, void(error::Error error));

Powered by Google App Engine
This is Rietveld 408576698