From b2dc585f73c122d6f605b8a5e7cb8d235a8148ba Mon Sep 17 00:00:00 2001
From: "tony@chromium.org"
 <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 27 Apr 2010 08:09:44 +0000
Subject: [PATCH] Build DRT in chromium.

Some small fixes for linking on windows.

Review URL: http://codereview.chromium.org/1711014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45680 0039d316-1c4b-4281-b951-d872f2087c98
---
 build/all.gyp                         |  1 +
 webkit/support/webkit_support_glue.cc | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/build/all.gyp b/build/all.gyp
index 0dbe7515c4cb0..d97b2ce1995fd 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -37,6 +37,7 @@
         '../third_party/ots/ots.gyp:*',
         '../third_party/sqlite/sqlite.gyp:*',
         '../third_party/WebKit/WebKit/chromium/WebKit.gyp:*',
+        '../third_party/WebKit/WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:*',
         '../third_party/zlib/zlib.gyp:*',
         '../webkit/webkit.gyp:*',
         'util/build_util.gyp:*',
diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
index bc4cd0b5bf632..81253e868b77a 100644
--- a/webkit/support/webkit_support_glue.cc
+++ b/webkit/support/webkit_support_glue.cc
@@ -59,4 +59,14 @@ std::string GetProductVersion() {
   return std::string("DumpRenderTree/0.0.0.0");
 }
 
+bool GetPluginFinderURL(std::string* plugin_finder_url) {
+  return false;
+}
+
+#if defined(OS_WIN)
+bool DownloadUrl(const std::string& url, HWND caller_window) {
+  return false;
+}
+#endif
+
 }  // namespace webkit_glue
-- 
GitLab