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

Unified Diff: webkit/glue/plugins/plugin_stubs.cc

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « webkit/glue/plugins/plugin_string_stream.cc ('k') | webkit/glue/plugins/plugin_web_event_converter_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_stubs.cc
diff --git a/webkit/glue/plugins/plugin_stubs.cc b/webkit/glue/plugins/plugin_stubs.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f8210c30d0260d01b043653fdeccbb755c53c5a9
--- /dev/null
+++ b/webkit/glue/plugins/plugin_stubs.cc
@@ -0,0 +1,30 @@
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file stubs out some functions needed to make the linker happy
+// without linking in all the plugin code. It should be removed once
+// we have plugins working on all platforms.
+
+// TODO(port): remove this file.
+
+#include "base/logging.h"
+#include "webkit/glue/plugins/plugin_instance.h"
+#include "webkit/glue/plugins/plugin_stream.h"
+
+namespace NPAPI {
+
+PluginStream::~PluginStream() {
+ NOTIMPLEMENTED();
+}
+
+bool PluginStream::Close(NPReason reason) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void PluginInstance::NPP_StreamAsFile(NPStream*, const char*) {
+ NOTIMPLEMENTED();
+}
+
+} // namespace NPAPI
« no previous file with comments | « webkit/glue/plugins/plugin_string_stream.cc ('k') | webkit/glue/plugins/plugin_web_event_converter_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698