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

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

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
Index: webkit/plugins/ppapi/mock_plugin_delegate.cc
===================================================================
--- webkit/plugins/ppapi/mock_plugin_delegate.cc (revision 0)
+++ webkit/plugins/ppapi/mock_plugin_delegate.cc (working copy)
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/glue/plugins/mock_plugin_delegate.h"
+#include "webkit/plugins/ppapi/mock_plugin_delegate.h"
#include "base/message_loop_proxy.h"
-namespace pepper {
+namespace webkit {
+namespace plugins {
+namespace ppapi {
MockPluginDelegate::MockPluginDelegate() {
}
@@ -14,10 +16,10 @@
MockPluginDelegate::~MockPluginDelegate() {
}
-void MockPluginDelegate::InstanceCreated(pepper::PluginInstance* instance) {
+void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
}
-void MockPluginDelegate::InstanceDeleted(pepper::PluginInstance* instance) {
+void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
}
MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D(
@@ -149,7 +151,7 @@
base::PlatformFileError MockPluginDelegate::GetModuleLocalDirContents(
const std::string& module_name,
const FilePath& path,
- PepperDirContents* contents) {
+ DirContents* contents) {
return base::PLATFORM_FILE_ERROR_FAILED;
}
@@ -184,4 +186,7 @@
void MockPluginDelegate::SetContentRestriction(int restrictions) {
}
-} // namespace pepper
+} // namespace ppapi
+} // namespace plugins
+} // namespace webkit
+

Powered by Google App Engine
This is Rietveld 408576698