summaryrefslogtreecommitdiffstats
path: root/webkit/glue/mock_webkit_glue.cc
blob: a894e087b502e9a1ee389b358e0cb93e17c4c224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Stubs for the webkit_glue namespace so chromium unit tests
// (e.g. files in src/chrome/renderer/) don't have to bring in all of
// webkit.  For OSX/Linux bootstrapping.

#if !defined(UNIT_TEST)
#error "This file should only be compiled in a unit test bundle."
#endif

#if defined(OS_WIN)
#error "You don't need this file on Windows."
#endif

#include "webkit/glue/webkit_glue.h"

namespace webkit_glue {

void SetJavaScriptFlags(const std::wstring& str) { }
void SetRecordPlaybackMode(bool value) { }
void CheckForLeaks() { }

}  // namespace webkit_glue