| 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/public/platform/Platform.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 #if !defined(OS_IOS) | 15 #if !defined(OS_IOS) |
| 16 // A stubbed out WebKit platform support impl. | 16 // A stubbed out WebKit platform support impl. |
| 17 class UnitTestTestSuite::UnitTestWebKitPlatformSupport | 17 class UnitTestTestSuite::UnitTestWebKitPlatformSupport |
| 18 : public WebKit::Platform { | 18 : public WebKit::Platform { |
| 19 public: | 19 public: |
| 20 UnitTestWebKitPlatformSupport() {} | 20 UnitTestWebKitPlatformSupport() {} |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 #if !defined(OS_IOS) | 45 #if !defined(OS_IOS) |
| 46 WebKit::shutdown(); | 46 WebKit::shutdown(); |
| 47 #endif | 47 #endif |
| 48 } | 48 } |
| 49 | 49 |
| 50 int UnitTestTestSuite::Run() { | 50 int UnitTestTestSuite::Run() { |
| 51 return test_suite_->Run(); | 51 return test_suite_->Run(); |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace content | 54 } // namespace content |
| OLD | NEW |