| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/test/test_blink_web_unit_test_support.h" | 5 #include "content/test/test_blink_web_unit_test_support.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "content/test/web_gesture_curve_mock.h" | 24 #include "content/test/web_gesture_curve_mock.h" |
| 25 #include "content/test/web_layer_tree_view_impl_for_testing.h" | 25 #include "content/test/web_layer_tree_view_impl_for_testing.h" |
| 26 #include "content/test/weburl_loader_mock_factory.h" | 26 #include "content/test/weburl_loader_mock_factory.h" |
| 27 #include "media/base/media.h" | 27 #include "media/base/media.h" |
| 28 #include "net/cookies/cookie_monster.h" | 28 #include "net/cookies/cookie_monster.h" |
| 29 #include "storage/browser/database/vfs_backend.h" | 29 #include "storage/browser/database/vfs_backend.h" |
| 30 #include "third_party/WebKit/public/platform/WebConnectionType.h" | 30 #include "third_party/WebKit/public/platform/WebConnectionType.h" |
| 31 #include "third_party/WebKit/public/platform/WebData.h" | 31 #include "third_party/WebKit/public/platform/WebData.h" |
| 32 #include "third_party/WebKit/public/platform/WebFileSystem.h" | 32 #include "third_party/WebKit/public/platform/WebFileSystem.h" |
| 33 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" | 33 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" |
| 34 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
| 34 #include "third_party/WebKit/public/platform/WebStorageArea.h" | 35 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
| 35 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" | 36 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" |
| 36 #include "third_party/WebKit/public/platform/WebString.h" | 37 #include "third_party/WebKit/public/platform/WebString.h" |
| 37 #include "third_party/WebKit/public/platform/WebURL.h" | 38 #include "third_party/WebKit/public/platform/WebURL.h" |
| 38 #include "third_party/WebKit/public/web/WebDatabase.h" | 39 #include "third_party/WebKit/public/web/WebDatabase.h" |
| 39 #include "third_party/WebKit/public/web/WebKit.h" | 40 #include "third_party/WebKit/public/web/WebKit.h" |
| 40 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" | 41 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" |
| 41 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 42 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 42 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 43 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" | 43 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" |
| 44 #include "v8/include/v8.h" | 44 #include "v8/include/v8.h" |
| 45 | 45 |
| 46 #if defined(OS_MACOSX) | 46 #if defined(OS_MACOSX) |
| 47 #include "base/mac/foundation_util.h" | 47 #include "base/mac/foundation_util.h" |
| 48 #include "base/mac/scoped_nsautorelease_pool.h" | 48 #include "base/mac/scoped_nsautorelease_pool.h" |
| 49 #endif | 49 #endif |
| 50 | 50 |
| 51 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 51 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 return BlinkPlatformImpl::currentThread(); | 345 return BlinkPlatformImpl::currentThread(); |
| 346 } | 346 } |
| 347 | 347 |
| 348 void TestBlinkWebUnitTestSupport::getPluginList( | 348 void TestBlinkWebUnitTestSupport::getPluginList( |
| 349 bool refresh, blink::WebPluginListBuilder* builder) { | 349 bool refresh, blink::WebPluginListBuilder* builder) { |
| 350 builder->addPlugin("pdf", "pdf", "pdf-files"); | 350 builder->addPlugin("pdf", "pdf", "pdf-files"); |
| 351 builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); | 351 builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); |
| 352 } | 352 } |
| 353 | 353 |
| 354 } // namespace content | 354 } // namespace content |
| OLD | NEW |