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

Side by Side Diff: content/test/test_blink_web_unit_test_support.cc

Issue 1411073005: Migrating tests to use EmbeddedTestServer (/content) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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
« no previous file with comments | « content/test/ppapi/ppapi_test.h ('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 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/path_service.h" 10 #include "base/path_service.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 #include "components/scheduler/renderer/renderer_scheduler_impl.h" 15 #include "components/scheduler/renderer/renderer_scheduler_impl.h"
16 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" 16 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h"
17 #include "components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tes ts.h" 17 #include "components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tes ts.h"
18 #include "content/test/mock_webclipboard_impl.h" 18 #include "content/test/mock_webclipboard_impl.h"
19 #include "content/test/web_gesture_curve_mock.h" 19 #include "content/test/web_gesture_curve_mock.h"
20 #include "content/test/web_layer_tree_view_impl_for_testing.h" 20 #include "content/test/web_layer_tree_view_impl_for_testing.h"
21 #include "content/test/weburl_loader_mock_factory.h" 21 #include "content/test/weburl_loader_mock_factory.h"
22 #include "media/base/media.h" 22 #include "media/base/media.h"
23 #include "net/cookies/cookie_monster.h" 23 #include "net/cookies/cookie_monster.h"
24 #include "net/test/spawned_test_server/spawned_test_server.h"
25 #include "storage/browser/database/vfs_backend.h" 24 #include "storage/browser/database/vfs_backend.h"
26 #include "third_party/WebKit/public/platform/WebData.h" 25 #include "third_party/WebKit/public/platform/WebData.h"
27 #include "third_party/WebKit/public/platform/WebFileSystem.h" 26 #include "third_party/WebKit/public/platform/WebFileSystem.h"
28 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" 27 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h"
29 #include "third_party/WebKit/public/platform/WebStorageArea.h" 28 #include "third_party/WebKit/public/platform/WebStorageArea.h"
30 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" 29 #include "third_party/WebKit/public/platform/WebStorageNamespace.h"
31 #include "third_party/WebKit/public/platform/WebString.h" 30 #include "third_party/WebKit/public/platform/WebString.h"
32 #include "third_party/WebKit/public/platform/WebURL.h" 31 #include "third_party/WebKit/public/platform/WebURL.h"
33 #include "third_party/WebKit/public/web/WebDatabase.h" 32 #include "third_party/WebKit/public/web/WebDatabase.h"
34 #include "third_party/WebKit/public/web/WebKit.h" 33 #include "third_party/WebKit/public/web/WebKit.h"
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 base::MessageLoop::current()->QuitWhenIdle(); 368 base::MessageLoop::current()->QuitWhenIdle();
370 } 369 }
371 370
372 void TestBlinkWebUnitTestSupport::getPluginList( 371 void TestBlinkWebUnitTestSupport::getPluginList(
373 bool refresh, blink::WebPluginListBuilder* builder) { 372 bool refresh, blink::WebPluginListBuilder* builder) {
374 builder->addPlugin("pdf", "pdf", "pdf-files"); 373 builder->addPlugin("pdf", "pdf", "pdf-files");
375 builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); 374 builder->addMediaTypeToLastPlugin("application/pdf", "pdf");
376 } 375 }
377 376
378 } // namespace content 377 } // namespace content
OLDNEW
« no previous file with comments | « content/test/ppapi/ppapi_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698