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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Clear the disk cache. Used for debugging. | 245 // Clear the disk cache. Used for debugging. |
246 void ClearCache(); | 246 void ClearCache(); |
247 | 247 |
248 // Returns the product version. E.g., Chrome/4.1.333.0 | 248 // Returns the product version. E.g., Chrome/4.1.333.0 |
249 std::string GetProductVersion(); | 249 std::string GetProductVersion(); |
250 | 250 |
| 251 // Returns true if the embedder is running in single process mode. |
| 252 bool IsSingleProcess(); |
| 253 |
251 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 254 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
252 | 255 |
253 | 256 |
254 } // namespace webkit_glue | 257 } // namespace webkit_glue |
255 | 258 |
256 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 259 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |