OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/test/launcher/unit_test_launcher.h" | 9 #include "base/test/launcher/unit_test_launcher.h" |
10 #include "base/test/test_suite.h" | 10 #include "base/test/test_suite.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "media/base/media.h" | 12 #include "media/base/media.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 #include "third_party/WebKit/public/platform/WebThread.h" |
14 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 15 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
15 #include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_t
est_support.h" | 16 #include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_t
est_support.h" |
16 #include "third_party/WebKit/public/web/WebKit.h" | 17 #include "third_party/WebKit/public/web/WebKit.h" |
17 | 18 |
18 #if defined(OS_ANDROID) | 19 #if defined(OS_ANDROID) |
19 #include "base/android/jni_android.h" | 20 #include "base/android/jni_android.h" |
20 #include "media/base/android/media_jni_registrar.h" | 21 #include "media/base/android/media_jni_registrar.h" |
21 #endif | 22 #endif |
22 | 23 |
23 #if !defined(OS_IOS) | 24 #if !defined(OS_IOS) |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 blink::Initialize(blink_platform_support_.get()); | 100 blink::Initialize(blink_platform_support_.get()); |
100 } | 101 } |
101 | 102 |
102 int main(int argc, char** argv) { | 103 int main(int argc, char** argv) { |
103 BlinkMediaTestSuite test_suite(argc, argv); | 104 BlinkMediaTestSuite test_suite(argc, argv); |
104 | 105 |
105 return base::LaunchUnitTests( | 106 return base::LaunchUnitTests( |
106 argc, argv, base::Bind(&BlinkMediaTestSuite::Run, | 107 argc, argv, base::Bind(&BlinkMediaTestSuite::Run, |
107 base::Unretained(&test_suite))); | 108 base::Unretained(&test_suite))); |
108 } | 109 } |
OLD | NEW |