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

Unified Diff: gpu/command_buffer/client/client_test_helper.h

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge Created 5 years, 3 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
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.cc ('k') | gpu/command_buffer/client/gpu_control.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/client_test_helper.h
diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h
index 07234c70ccb1b50b2f6c044f7ae3f0504154d594..e16e0895d510a616599eed12e095f312c86c8006 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -112,6 +112,8 @@ class MockClientGpuControl : public GpuControl {
MOCK_METHOD1(CreateStreamTexture, uint32(uint32));
MOCK_METHOD1(SetLock, void(base::Lock*));
MOCK_METHOD0(IsGpuChannelLost, bool());
+ MOCK_CONST_METHOD0(GetNamespaceID, CommandBufferNamespace());
+ MOCK_CONST_METHOD0(GetCommandBufferID, uint64_t());
private:
DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl);
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.cc ('k') | gpu/command_buffer/client/gpu_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698