OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Stubs for the webkit_glue namespace so chromium unit tests |
| 6 // (e.g. files in src/chrome/renderer/) don't have to bring in all of |
| 7 // webkit. For OSX/Linux bootstrapping. |
| 8 |
| 9 #if !defined(UNIT_TEST) |
| 10 #error "This file should only be compiled in a unit test bundle." |
| 11 #endif |
| 12 |
| 13 #if defined(OS_WIN) |
| 14 #error "You don't need this file on Windows." |
| 15 #endif |
| 16 |
| 17 #include "webkit/glue/webkit_glue.h" |
| 18 |
| 19 namespace webkit_glue { |
| 20 |
| 21 void SetJavaScriptFlags(const std::wstring& str) { } |
| 22 void SetRecordPlaybackMode(bool value) { } |
| 23 void CheckForLeaks() { } |
| 24 |
| 25 } // namespace webkit_glue |
| 26 |
| 27 |
| 28 |
| 29 |
OLD | NEW |