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

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 8131: More stubbing out. With this and the rest of Linux pending, test_shell links. (Closed)
Patch Set: It links Created 12 years, 2 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/glue/SConscript ('k') | webkit/port/bridge/chromium/PluginsChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc
index 2429c0bcbf0e3abe2e7a8578d93d7998d60d7937..496de7f6ae69684797040e288ced36fd52f4bad7 100644
--- a/webkit/glue/webplugin_impl.cc
+++ b/webkit/glue/webplugin_impl.cc
@@ -5,6 +5,7 @@
#include "config.h"
#include "base/compiler_specific.h"
+#include "build/build_config.h"
MSVC_PUSH_WARNING_LEVEL(0);
#include "Cursor.h"
@@ -375,7 +376,13 @@ bool WebPluginImpl::SetPostData(WebCore::ResourceRequest* request,
std::vector<std::string> names;
std::vector<std::string> values;
std::vector<char> body;
+#if !defined(OS_LINUX)
bool rv = NPAPI::PluginHost::SetPostData(buf, length, &names, &values, &body);
+#else
+ // TODO(port): unstub once we have plugin support
+ bool rv = false;
+ NOTREACHED();
+#endif
for (size_t i = 0; i < names.size(); ++i)
request->addHTTPHeaderField(webkit_glue::StdStringToString(names[i]),
« no previous file with comments | « webkit/glue/SConscript ('k') | webkit/port/bridge/chromium/PluginsChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698