| OLD | NEW |
| 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 "content/public/test/unittest_test_suite.h" | 5 #include "content/public/test/unittest_test_suite.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
| 9 #include "base/test/test_suite.h" | 9 #include "base/test/test_suite.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatfo
rmSupport.h" | |
| 12 #include "webkit/compositor_bindings/web_compositor_support_impl.h" | 12 #include "webkit/compositor_bindings/web_compositor_support_impl.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 #if !defined(OS_IOS) | 16 #if !defined(OS_IOS) |
| 17 // A stubbed out WebKit platform support impl. | 17 // A stubbed out WebKit platform support impl. |
| 18 class UnitTestTestSuite::UnitTestWebKitPlatformSupport | 18 class UnitTestTestSuite::UnitTestWebKitPlatformSupport |
| 19 : public WebKit::WebKitPlatformSupport { | 19 : public WebKit::WebKitPlatformSupport { |
| 20 public: | 20 public: |
| 21 UnitTestWebKitPlatformSupport() {} | 21 UnitTestWebKitPlatformSupport() {} |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #if !defined(OS_IOS) | 53 #if !defined(OS_IOS) |
| 54 WebKit::shutdown(); | 54 WebKit::shutdown(); |
| 55 #endif | 55 #endif |
| 56 } | 56 } |
| 57 | 57 |
| 58 int UnitTestTestSuite::Run() { | 58 int UnitTestTestSuite::Run() { |
| 59 return test_suite_->Run(); | 59 return test_suite_->Run(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace content | 62 } // namespace content |
| OLD | NEW |