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

Side by Side Diff: content/browser/fileapi/file_system_browsertest.cc

Issue 15505003: GTTF: Convert most tests in content to use EmbeddedTestServer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang Created 7 years, 7 months 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 | Annotate | Revision Log
OLDNEW
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/test/thread_test_helper.h" 9 #include "base/test/thread_test_helper.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
11 #include "content/public/browser/browser_context.h" 11 #include "content/public/browser/browser_context.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/storage_partition.h" 13 #include "content/public/browser/storage_partition.h"
14 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
15 #include "content/public/test/browser_test_utils.h" 15 #include "content/public/test/browser_test_utils.h"
16 #include "content/shell/shell.h" 16 #include "content/shell/shell.h"
17 #include "content/test/content_browser_test.h" 17 #include "content/test/content_browser_test.h"
18 #include "content/test/content_browser_test_utils.h" 18 #include "content/test/content_browser_test_utils.h"
19 #include "content/test/layout_browsertest.h" 19 #include "content/test/layout_browsertest.h"
20 #include "net/test/spawned_test_server/spawned_test_server.h"
21 #include "webkit/quota/quota_manager.h" 20 #include "webkit/quota/quota_manager.h"
22 21
23 using quota::QuotaManager; 22 using quota::QuotaManager;
24 23
25 namespace content { 24 namespace content {
26 25
27 // This browser test is aimed towards exercising the FileAPI bindings and 26 // This browser test is aimed towards exercising the FileAPI bindings and
28 // the actual implementation that lives in the browser side. 27 // the actual implementation that lives in the browser side.
29 class FileSystemBrowserTest : public ContentBrowserTest { 28 class FileSystemBrowserTest : public ContentBrowserTest {
30 public: 29 public:
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 353
355 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSimpleTemporarySync) { 354 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSimpleTemporarySync) {
356 RunLayoutTest("workers/simple-temporary-sync.html"); 355 RunLayoutTest("workers/simple-temporary-sync.html");
357 } 356 }
358 357
359 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSyncOperations) { 358 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSyncOperations) {
360 RunLayoutTest("workers/sync-operations.html"); 359 RunLayoutTest("workers/sync-operations.html");
361 } 360 }
362 361
363 } // namespace content 362 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698