| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/glue/webkit_glue.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "webkit/glue/user_agent.h" | |
| 10 | 9 |
| 11 // Functions needed by webkit_glue. | 10 // Functions needed by webkit_glue. |
| 12 | 11 |
| 13 namespace webkit_glue { | 12 namespace webkit_glue { |
| 14 | 13 |
| 15 void AppendToLog(const char*, int, const char*) { | 14 void AppendToLog(const char*, int, const char*) { |
| 16 } | 15 } |
| 17 | 16 |
| 18 bool GetPluginFinderURL(std::string* plugin_finder_url) { | 17 bool GetPluginFinderURL(std::string* plugin_finder_url) { |
| 19 return false; | 18 return false; |
| 20 } | 19 } |
| 21 | 20 |
| 22 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 23 bool DownloadUrl(const std::string& url, HWND caller_window) { | 22 bool DownloadUrl(const std::string& url, HWND caller_window) { |
| 24 return false; | 23 return false; |
| 25 } | 24 } |
| 26 #endif | 25 #endif |
| 27 | 26 |
| 28 void EnableSpdy(bool enable) { | 27 void EnableSpdy(bool enable) { |
| 29 } | 28 } |
| 30 | 29 |
| 31 void UserMetricsRecordAction(const std::string& action) { | 30 void UserMetricsRecordAction(const std::string& action) { |
| 32 } | 31 } |
| 33 | 32 |
| 34 } // namespace webkit_glue | 33 } // namespace webkit_glue |
| OLD | NEW |