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

Side by Side Diff: webkit/support/webkit_support.cc

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/support/webkit_support.h" 5 #include "webkit/support/webkit_support.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/debugger.h" 8 #include "base/debug/debugger.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/process_util.h" 13 #include "base/process_util.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/public/web/WebCache.h" 16 #include "third_party/WebKit/public/web/WebCache.h"
17 #include "third_party/WebKit/public/web/WebKit.h" 17 #include "third_party/WebKit/public/web/WebKit.h"
18 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 18 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
19 #include "url/url_util.h" 19 #include "url/url_util.h"
20 #include "webkit/child/webkitplatformsupport_impl.h"
20 #include "webkit/common/user_agent/user_agent.h" 21 #include "webkit/common/user_agent/user_agent.h"
21 #include "webkit/common/user_agent/user_agent_util.h" 22 #include "webkit/common/user_agent/user_agent_util.h"
22 #include "webkit/glue/webkit_glue.h" 23 #include "webkit/glue/webkit_glue.h"
23 #include "webkit/glue/webkitplatformsupport_impl.h"
24 #include "webkit/support/platform_support.h" 24 #include "webkit/support/platform_support.h"
25 #include "webkit/support/test_webkit_platform_support.h" 25 #include "webkit/support/test_webkit_platform_support.h"
26 26
27 #if defined(OS_ANDROID) 27 #if defined(OS_ANDROID)
28 #include "base/test/test_support_android.h" 28 #include "base/test/test_support_android.h"
29 #endif 29 #endif
30 30
31 namespace { 31 namespace {
32 32
33 // All fatal log messages (e.g. DCHECK failures) imply unit test failures 33 // All fatal log messages (e.g. DCHECK failures) imply unit test failures
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 if (RunningOnValgrind()) 146 if (RunningOnValgrind())
147 WebKit::WebCache::clear(); 147 WebKit::WebCache::clear();
148 WebKit::shutdown(); 148 WebKit::shutdown();
149 delete test_environment; 149 delete test_environment;
150 test_environment = NULL; 150 test_environment = NULL;
151 AfterShutdown(); 151 AfterShutdown();
152 logging::CloseLogFile(); 152 logging::CloseLogFile();
153 } 153 }
154 154
155 } // namespace webkit_support 155 } // namespace webkit_support
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698