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