| OLD | NEW |
| 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 int64_t disk_usage_; | 193 int64_t disk_usage_; |
| 194 int blob_file_count_ = 0; | 194 int blob_file_count_ = 0; |
| 195 | 195 |
| 196 DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTest); | 196 DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTest); |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { | 199 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { |
| 200 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html")); | 200 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html")); |
| 201 } | 201 } |
| 202 | 202 |
| 203 #if defined(OS_ANDROID) | 203 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { |
| 204 #define MAYBE_CursorTestIncognito DISABLED_CursorTestIncognito | |
| 205 #else | |
| 206 #define MAYBE_CursorTestIncognito CursorTestIncogntio | |
| 207 #endif | |
| 208 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, MAYBE_CursorTestIncognito) { | |
| 209 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html"), | 204 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html"), |
| 210 true /* incognito */); | 205 true /* incognito */); |
| 211 } | 206 } |
| 212 | 207 |
| 213 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { | 208 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { |
| 214 SimpleTest(GetTestUrl("indexeddb", "cursor_prefetch.html")); | 209 SimpleTest(GetTestUrl("indexeddb", "cursor_prefetch.html")); |
| 215 } | 210 } |
| 216 | 211 |
| 217 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, IndexTest) { | 212 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, IndexTest) { |
| 218 SimpleTest(GetTestUrl("indexeddb", "index_test.html")); | 213 SimpleTest(GetTestUrl("indexeddb", "index_test.html")); |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 command_line->AppendSwitch(switches::kSingleProcess); | 853 command_line->AppendSwitch(switches::kSingleProcess); |
| 859 } | 854 } |
| 860 }; | 855 }; |
| 861 | 856 |
| 862 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, | 857 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, |
| 863 RenderThreadShutdownTest) { | 858 RenderThreadShutdownTest) { |
| 864 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); | 859 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); |
| 865 } | 860 } |
| 866 | 861 |
| 867 } // namespace content | 862 } // namespace content |
| OLD | NEW |