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

Unified Diff: gpu/command_buffer/service/gpu_processor_unittest.cc

Issue 465099: Removed command buffer's last dependency on NPAPI.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 | « gpu/command_buffer/service/gpu_processor_mock.h ('k') | gpu/command_buffer/service/gpu_processor_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_processor_unittest.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor_unittest.cc (revision 33880)
+++ gpu/command_buffer/service/gpu_processor_unittest.cc (working copy)
@@ -8,7 +8,6 @@
#include "gpu/command_buffer/service/mocks.h"
#include "gpu/command_buffer/service/gpu_processor.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
-#include "gpu/np_utils/np_browser_mock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -35,12 +34,6 @@
memset(buffer_, 0, kRingBufferSize);
- // Don't mock PluginThreadAsyncCall. Have it schedule the task.
- ON_CALL(mock_browser_, PluginThreadAsyncCall(_, _, _))
- .WillByDefault(
- Invoke(&mock_browser_,
- &np_utils::MockNPBrowser::ConcretePluginThreadAsyncCall));
-
command_buffer_.reset(new MockCommandBuffer);
ON_CALL(*command_buffer_.get(), GetRingBuffer())
.WillByDefault(Return(shared_memory_.get()));
@@ -72,7 +65,6 @@
base::AtExitManager at_exit_manager;
MessageLoop message_loop;
- np_utils::MockNPBrowser mock_browser_;
scoped_ptr<MockCommandBuffer> command_buffer_;
scoped_ptr<::base::SharedMemory> shared_memory_;
int32* buffer_;
« no previous file with comments | « gpu/command_buffer/service/gpu_processor_mock.h ('k') | gpu/command_buffer/service/gpu_processor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698