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 16 void AppendToLog(const char*, int, const char*) { 17 } 18 19 bool GetPluginFinderURL(std::string* plugin_finder_url) { 20 return false; 21 } 22 23 #if defined(OS_WIN) 24 bool DownloadUrl(const std::string& url, HWND caller_window) { 25 return false; 26 } 27 #endif 28 29 void EnableSpdy(bool enable) { 30 } 31 32 void UserMetricsRecordAction(const std::string& action) { 33 } 34 35 } // namespace webkit_glue 36