OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ | 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ |
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ | 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Returns the plugin finder URL. | 192 // Returns the plugin finder URL. |
193 bool GetPluginFinderURL(std::string* plugin_finder_url); | 193 bool GetPluginFinderURL(std::string* plugin_finder_url); |
194 | 194 |
195 // Resolves the proxies for the url, returns true on success. | 195 // Resolves the proxies for the url, returns true on success. |
196 bool FindProxyForUrl(const GURL& url, std::string* proxy_list); | 196 bool FindProxyForUrl(const GURL& url, std::string* proxy_list); |
197 | 197 |
198 // Returns the locale that this instance of webkit is running as. This is of | 198 // Returns the locale that this instance of webkit is running as. This is of |
199 // the form language-country (e.g., en-US or pt-BR). | 199 // the form language-country (e.g., en-US or pt-BR). |
200 std::wstring GetWebKitLocale(); | 200 std::wstring GetWebKitLocale(); |
201 | 201 |
| 202 // Close idle connections. Used for debugging. |
| 203 void CloseIdleConnections(); |
| 204 |
| 205 // Enable or disable the disk cache. Used for debugging. |
| 206 void SetCacheMode(bool enabled); |
| 207 |
202 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 208 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
203 | 209 |
204 | 210 |
205 } // namespace webkit_glue | 211 } // namespace webkit_glue |
206 | 212 |
207 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 213 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |