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

Unified Diff: webkit/plugins/ppapi/ppapi_unittest.cc

Issue 7433006: Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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 | « webkit/plugins/ppapi/ppapi_unittest.h ('k') | webkit/plugins/ppapi/ppb_file_io_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_unittest.cc
diff --git a/webkit/plugins/ppapi/ppapi_unittest.cc b/webkit/plugins/ppapi/ppapi_unittest.cc
index 64db9495eda19bbad243181ef5f8b84190d6b917..d2bc6257d4c3138244e61e2829a663a1207e12a6 100644
--- a/webkit/plugins/ppapi/ppapi_unittest.cc
+++ b/webkit/plugins/ppapi/ppapi_unittest.cc
@@ -74,7 +74,7 @@ PpapiUnittest::~PpapiUnittest() {
}
void PpapiUnittest::SetUp() {
- delegate_.reset(new MockPluginDelegate);
+ delegate_.reset(NewPluginDelegate());
// Initialize the mock module.
module_ = new PluginModule("Mock plugin", FilePath(), this);
@@ -96,6 +96,10 @@ void PpapiUnittest::TearDown() {
module_ = NULL;
}
+MockPluginDelegate* PpapiUnittest::NewPluginDelegate() {
+ return new MockPluginDelegate;
+}
+
const void* PpapiUnittest::GetMockInterface(const char* interface_name) const {
if (strcmp(interface_name, PPP_INSTANCE_INTERFACE_1_0) == 0)
return &mock_instance_interface;
« no previous file with comments | « webkit/plugins/ppapi/ppapi_unittest.h ('k') | webkit/plugins/ppapi/ppb_file_io_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698