Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: webkit/glue/mock_webkit_glue.cc

Issue 19606: Unit test addition, cleanup for render_process/thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW
« chrome/renderer/render_process_unittest.cc ('K') | « chrome/test/unit/unittests.vcproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698