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

Side by Side Diff: content/shell/browser/layout_test/layout_test_content_browser_client.cc

Issue 2763813002: Ensure correctness for interleaved IndexedDB cursor iteration. (Closed)
Patch Set: Added comment showing the interleaving sequence used in this test. Created 3 years, 9 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 | third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/shell/browser/layout_test/layout_test_content_browser_client.h " 5 #include "content/shell/browser/layout_test/layout_test_content_browser_client.h "
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 BrowserMainParts* LayoutTestContentBrowserClient::CreateBrowserMainParts( 125 BrowserMainParts* LayoutTestContentBrowserClient::CreateBrowserMainParts(
126 const MainFunctionParams& parameters) { 126 const MainFunctionParams& parameters) {
127 set_browser_main_parts(new LayoutTestBrowserMainParts(parameters)); 127 set_browser_main_parts(new LayoutTestBrowserMainParts(parameters));
128 return shell_browser_main_parts(); 128 return shell_browser_main_parts();
129 } 129 }
130 130
131 void LayoutTestContentBrowserClient::GetQuotaSettings( 131 void LayoutTestContentBrowserClient::GetQuotaSettings(
132 BrowserContext* context, 132 BrowserContext* context,
133 StoragePartition* partition, 133 StoragePartition* partition,
134 const storage::OptionalQuotaSettingsCallback& callback) { 134 const storage::OptionalQuotaSettingsCallback& callback) {
135 callback.Run(storage::GetHardCodedSettings(5 * 1024 * 1024)); 135 // The 1GB limit is intended to give a large headroom to tests that need to
136 // build up a large data set and issue many concurrent reads or writes.
137 callback.Run(storage::GetHardCodedSettings(1024 * 1024 * 1024));
136 } 138 }
137 139
138 PlatformNotificationService* 140 PlatformNotificationService*
139 LayoutTestContentBrowserClient::GetPlatformNotificationService() { 141 LayoutTestContentBrowserClient::GetPlatformNotificationService() {
140 return layout_test_notification_manager_.get(); 142 return layout_test_notification_manager_.get();
141 } 143 }
142 144
143 } // namespace content 145 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698