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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_browsertest.cc

Issue 7046114: Remove content dependency on chrome/browser/accessibility/browser_accessibility_state.h and chrom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/scoped_temp_dir.h" 9 #include "base/scoped_temp_dir.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/in_process_browser_test.h" 12 #include "chrome/test/in_process_browser_test.h"
14 #include "chrome/test/testing_profile.h" 13 #include "chrome/test/testing_profile.h"
15 #include "chrome/test/thread_test_helper.h" 14 #include "chrome/test/thread_test_helper.h"
16 #include "chrome/test/ui_test_utils.h" 15 #include "chrome/test/ui_test_utils.h"
17 #include "content/browser/in_process_webkit/indexed_db_context.h" 16 #include "content/browser/in_process_webkit/indexed_db_context.h"
18 #include "content/browser/in_process_webkit/webkit_context.h" 17 #include "content/browser/in_process_webkit/webkit_context.h"
19 #include "content/browser/tab_contents/tab_contents.h" 18 #include "content/browser/tab_contents/tab_contents.h"
19 #include "content/common/content_switches.h"
20 20
21 // This browser test is aimed towards exercising the IndexedDB bindings and 21 // This browser test is aimed towards exercising the IndexedDB bindings and
22 // the actual implementation that lives in the browser side (in_process_webkit). 22 // the actual implementation that lives in the browser side (in_process_webkit).
23 class IndexedDBBrowserTest : public InProcessBrowserTest { 23 class IndexedDBBrowserTest : public InProcessBrowserTest {
24 public: 24 public:
25 IndexedDBBrowserTest() { 25 IndexedDBBrowserTest() {
26 EnableDOMAutomation(); 26 EnableDOMAutomation();
27 } 27 }
28 28
29 GURL testUrl(const FilePath& file_path) { 29 GURL testUrl(const FilePath& file_path) {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual void SetUpCommandLine(CommandLine* command_line) { 144 virtual void SetUpCommandLine(CommandLine* command_line) {
145 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); 145 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
146 } 146 }
147 }; 147 };
148 148
149 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, 149 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
150 DatabaseCallbacksTest) { 150 DatabaseCallbacksTest) {
151 SimpleTest( 151 SimpleTest(
152 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); 152 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html"))));
153 } 153 }
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_uitest.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698