| 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 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { | 203 #if defined(OS_ANDROID) |
| 204 #define MAYBE_CursorTestIncognito DISABLED_CursorTestIncognito |
| 205 #else |
| 206 #define MAYBE_CursorTestIncognito CursorTestIncogntio |
| 207 #endif |
| 208 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, MAYBE_CursorTestIncognito) { |
| 204 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html"), | 209 SimpleTest(GetTestUrl("indexeddb", "cursor_test.html"), |
| 205 true /* incognito */); | 210 true /* incognito */); |
| 206 } | 211 } |
| 207 | 212 |
| 208 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { | 213 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { |
| 209 SimpleTest(GetTestUrl("indexeddb", "cursor_prefetch.html")); | 214 SimpleTest(GetTestUrl("indexeddb", "cursor_prefetch.html")); |
| 210 } | 215 } |
| 211 | 216 |
| 212 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, IndexTest) { | 217 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, IndexTest) { |
| 213 SimpleTest(GetTestUrl("indexeddb", "index_test.html")); | 218 SimpleTest(GetTestUrl("indexeddb", "index_test.html")); |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 command_line->AppendSwitch(switches::kSingleProcess); | 858 command_line->AppendSwitch(switches::kSingleProcess); |
| 854 } | 859 } |
| 855 }; | 860 }; |
| 856 | 861 |
| 857 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, | 862 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, |
| 858 RenderThreadShutdownTest) { | 863 RenderThreadShutdownTest) { |
| 859 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); | 864 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); |
| 860 } | 865 } |
| 861 | 866 |
| 862 } // namespace content | 867 } // namespace content |
| OLD | NEW |