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

Unified Diff: webkit/tools/test_shell/gtk/test_shell.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/tools/test_shell/SConscript ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/gtk/test_shell.cc
diff --git a/webkit/tools/test_shell/gtk/test_shell.cc b/webkit/tools/test_shell/gtk/test_shell.cc
index 702195f0b6be53bfd36ef9c0a144e3bbcd25d3a6..fcb5d1bef9c7d9f1fdaa8343d5815685f569fce5 100644
--- a/webkit/tools/test_shell/gtk/test_shell.cc
+++ b/webkit/tools/test_shell/gtk/test_shell.cc
@@ -12,6 +12,7 @@
#include "net/base/mime_util.h"
#include "webkit/glue/webpreferences.h"
#include "webkit/glue/plugins/plugin_list.h"
+#include "webkit/glue/resource_loader_bridge.h"
#include "webkit/tools/test_shell/test_navigation_controller.h"
WebPreferences* TestShell::web_prefs_ = NULL;
@@ -21,7 +22,7 @@ WindowList* TestShell::window_list_;
TestShell::TestShell() {
// Uncomment this line to get a bunch of linker errors. This is what we need
// to fix.
- //m_webViewHost.reset(WebViewHost::Create(NULL, NULL, *TestShell::web_prefs_));
+ m_webViewHost.reset(WebViewHost::Create(NULL, NULL, *TestShell::web_prefs_));
}
TestShell::~TestShell() {
@@ -191,4 +192,20 @@ std::wstring GetWebKitLocale() {
return L"en-US";
}
+// The following cookie functions shouldn't live here, but do for now in order
+// to get things linking
+
+std::string GetCookies(const GURL &url, const GURL &policy_url) {
+ return "";
+}
+
+void SetCookie(const GURL &url, const GURL &policy_url, const std::string &cookie) {
+}
+
+
+ResourceLoaderBridge *
+ResourceLoaderBridge::Create(WebFrame*, std::string const &, GURL const&, GURL const&, GURL const&, std::string const&, int, int, ResourceType::Type, bool) {
+ return NULL;
+}
+
} // namespace webkit_glue
« no previous file with comments | « webkit/tools/test_shell/SConscript ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698