OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // Returns the locale that this instance of webkit is running as. This is of | 235 // Returns the locale that this instance of webkit is running as. This is of |
236 // the form language-country (e.g., en-US or pt-BR). | 236 // the form language-country (e.g., en-US or pt-BR). |
237 std::wstring GetWebKitLocale(); | 237 std::wstring GetWebKitLocale(); |
238 | 238 |
239 // Close current connections. Used for debugging. | 239 // Close current connections. Used for debugging. |
240 void CloseCurrentConnections(); | 240 void CloseCurrentConnections(); |
241 | 241 |
242 // Enable or disable the disk cache. Used for debugging. | 242 // Enable or disable the disk cache. Used for debugging. |
243 void SetCacheMode(bool enabled); | 243 void SetCacheMode(bool enabled); |
244 | 244 |
| 245 // Returns the product version. E.g., Chrome/4.1.333.0 |
| 246 std::string GetProductVersion(); |
| 247 |
245 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 248 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
246 | 249 |
247 | 250 |
248 } // namespace webkit_glue | 251 } // namespace webkit_glue |
249 | 252 |
250 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 253 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |