1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <string> 6 7 #include "build/build_config.h" 8 9 #if defined(OS_WIN) 10 #include <windows.h> 11 #endif 12 // Functions needed by webkit_glue. 13 14 namespace webkit_glue { 15 AppendToLog(const char *,int,const char *)16void AppendToLog(const char*, int, const char*) { 17 } 18 GetPluginFinderURL(std::string * plugin_finder_url)19bool GetPluginFinderURL(std::string* plugin_finder_url) { 20 return false; 21 } 22 23 #if defined(OS_WIN) DownloadUrl(const std::string & url,HWND caller_window)24bool DownloadUrl(const std::string& url, HWND caller_window) { 25 return false; 26 } 27 #endif 28 EnableSpdy(bool enable)29void EnableSpdy(bool enable) { 30 } 31 UserMetricsRecordAction(const std::string & action)32void UserMetricsRecordAction(const std::string& action) { 33 } 34 35 } // namespace webkit_glue 36