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

Unified Diff: content/renderer/pepper/ppapi_unittest.cc

Issue 21219002: Remove PluginDelegate completely. In a followup I'll rename PepperPluginDelegateImpl to something c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/ppapi_unittest.h ('k') | content/renderer/pepper/ppb_broker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppapi_unittest.cc
===================================================================
--- content/renderer/pepper/ppapi_unittest.cc (revision 214295)
+++ content/renderer/pepper/ppapi_unittest.cc (working copy)
@@ -7,9 +7,9 @@
#include "base/message_loop/message_loop.h"
#include "content/renderer/pepper/gfx_conversion.h"
#include "content/renderer/pepper/host_globals.h"
-#include "content/renderer/pepper/mock_plugin_delegate.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
#include "content/renderer/pepper/plugin_module.h"
+#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/c/ppp_instance.h"
#include "ppapi/shared_impl/ppapi_globals.h"
@@ -76,7 +76,6 @@
void PpapiUnittest::SetUp() {
message_loop_.reset(new base::MessageLoop());
- delegate_.reset(new MockPluginDelegate());
// Initialize the mock module.
module_ = new PluginModule("Mock plugin", base::FilePath(),
@@ -89,7 +88,7 @@
// Initialize the mock instance.
instance_ = PepperPluginInstanceImpl::Create(
- delegate_.get(), NULL, module(), NULL, GURL());
+ NULL, NULL, module(), NULL, GURL());
}
void PpapiUnittest::TearDown() {
« no previous file with comments | « content/renderer/pepper/ppapi_unittest.h ('k') | content/renderer/pepper/ppb_broker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698