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

Unified Diff: content/public/browser/indexed_db_context.h

Issue 2930183002: Let IndexedDBContextImpl create its own task runner (Closed)
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/indexed_db_context.h
diff --git a/content/public/browser/indexed_db_context.h b/content/public/browser/indexed_db_context.h
index ef9d61f441b0621320594688cbf3d133921bbb15..61a9146160a8d2f43aa6f352707ce9efad4ab412 100644
--- a/content/public/browser/indexed_db_context.h
+++ b/content/public/browser/indexed_db_context.h
@@ -44,9 +44,8 @@ class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
virtual base::FilePath GetFilePathForTesting(
const GURL& origin_url) const = 0;
- // Set the task runner for tests if browser main loop is not initialized.
- virtual void SetTaskRunnerForTesting(
- base::SequencedTaskRunner* task_runner) = 0;
+ // Forget the origins/sizes read from disk.
+ virtual void ResetCachesForTesting() = 0;
protected:
friend class base::RefCountedThreadSafe<IndexedDBContext>;
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698