OLD | NEW |
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/memory/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" | 12 #include "chrome/common/chrome_switches.h" |
13 #include "chrome/test/in_process_browser_test.h" | 13 #include "chrome/test/in_process_browser_test.h" |
14 #include "chrome/test/testing_profile.h" | 14 #include "chrome/test/testing_profile.h" |
15 #include "chrome/test/thread_test_helper.h" | 15 #include "chrome/test/thread_test_helper.h" |
16 #include "chrome/test/ui_test_utils.h" | 16 #include "chrome/test/ui_test_utils.h" |
17 #include "content/browser/in_process_webkit/indexed_db_context.h" | 17 #include "content/browser/in_process_webkit/indexed_db_context.h" |
18 #include "content/browser/in_process_webkit/webkit_context.h" | 18 #include "content/browser/in_process_webkit/webkit_context.h" |
19 #include "content/browser/tab_contents/tab_contents.h" | 19 #include "content/browser/tab_contents/tab_contents.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual void SetUpCommandLine(CommandLine* command_line) { | 133 virtual void SetUpCommandLine(CommandLine* command_line) { |
134 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); | 134 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); |
135 } | 135 } |
136 }; | 136 }; |
137 | 137 |
138 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, | 138 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, |
139 DatabaseCallbacksTest) { | 139 DatabaseCallbacksTest) { |
140 SimpleTest( | 140 SimpleTest( |
141 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); | 141 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); |
142 } | 142 } |
OLD | NEW |