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

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

Issue 2964743002: Revert "Indexed DB: Remove nonstandard IDBFactory.webkitGetDatabaseNames()" (Closed)
Patch Set: Undeprecate Created 3 years, 5 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
« no previous file with comments | « no previous file | content/test/data/indexeddb/corrupted_open_db_detection.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 717
718 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; 718 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html";
719 SimpleTest(embedded_test_server()->GetURL(test_file)); 719 SimpleTest(embedded_test_server()->GetURL(test_file));
720 } 720 }
721 721
722 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation, 722 INSTANTIATE_TEST_CASE_P(IndexedDBBrowserTestInstantiation,
723 IndexedDBBrowserTest, 723 IndexedDBBrowserTest,
724 ::testing::Values("failGetBlobJournal", 724 ::testing::Values("failGetBlobJournal",
725 "get", 725 "get",
726 "getAll", 726 "getAll",
727 "failWebkitGetDatabaseNames",
727 "iterate", 728 "iterate",
728 "failTransactionCommit", 729 "failTransactionCommit",
729 "clearObjectStore")); 730 "clearObjectStore"));
730 731
731 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) { 732 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteCompactsBackingStore) {
732 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html"); 733 const GURL test_url = GetTestUrl("indexeddb", "delete_compact.html");
733 SimpleTest(GURL(test_url.spec() + "#fill")); 734 SimpleTest(GURL(test_url.spec() + "#fill"));
734 int64_t after_filling = RequestDiskUsage(); 735 int64_t after_filling = RequestDiskUsage();
735 EXPECT_GT(after_filling, 0); 736 EXPECT_GT(after_filling, 0);
736 737
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 command_line->AppendSwitch(switches::kSingleProcess); 851 command_line->AppendSwitch(switches::kSingleProcess);
851 } 852 }
852 }; 853 };
853 854
854 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, 855 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess,
855 RenderThreadShutdownTest) { 856 RenderThreadShutdownTest) {
856 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); 857 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html"));
857 } 858 }
858 859
859 } // namespace content 860 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/indexeddb/corrupted_open_db_detection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698