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

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

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/test/thread_test_helper.h" 8 #include "base/test/thread_test_helper.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "chrome/test/base/ui_test_utils.h" 12 #include "chrome/test/base/ui_test_utils.h"
13 #include "content/browser/tab_contents/tab_contents.h" 13 #include "content/browser/tab_contents/tab_contents.h"
14 #include "content/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
15 #include "webkit/quota/quota_manager.h" 15 #include "webkit/quota/quota_manager.h"
16 16
17 using quota::QuotaManager; 17 using quota::QuotaManager;
18 18
19 // This browser test is aimed towards exercising the FileAPI bindings and 19 // This browser test is aimed towards exercising the FileAPI bindings and
20 // the actual implementation that lives in the browser side. 20 // the actual implementation that lives in the browser side.
21 class FileSystemBrowserTest : public InProcessBrowserTest { 21 class FileSystemBrowserTest : public InProcessBrowserTest {
22 public: 22 public:
23 FileSystemBrowserTest() { 23 FileSystemBrowserTest() {
24 EnableDOMAutomation(); 24 EnableDOMAutomation();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("request_test.html")))); 97 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("request_test.html"))));
98 } 98 }
99 99
100 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, CreateTest) { 100 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, CreateTest) {
101 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("create_test.html")))); 101 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("create_test.html"))));
102 } 102 }
103 103
104 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTestWithLowQuota, QuotaTest) { 104 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTestWithLowQuota, QuotaTest) {
105 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("quota_test.html")))); 105 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("quota_test.html"))));
106 } 106 }
OLDNEW
« no previous file with comments | « content/browser/file_system/browser_file_system_helper.cc ('k') | content/browser/geolocation/core_location_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698