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

Unified Diff: content/browser/indexed_db/indexed_db_context_impl.h

Issue 2930183002: Let IndexedDBContextImpl create its own task runner (Closed)
Patch Set: Use ScopedTaskEnvironment for most tests Created 3 years, 6 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
Index: content/browser/indexed_db/indexed_db_context_impl.h
diff --git a/content/browser/indexed_db/indexed_db_context_impl.h b/content/browser/indexed_db/indexed_db_context_impl.h
index 47e577426d49023d2770de750d8d5a582d2d6f21..d2dd94a976810981ead5190cd5272c2f50c2a0d7 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.h
+++ b/content/browser/indexed_db/indexed_db_context_impl.h
@@ -61,8 +61,7 @@ class CONTENT_EXPORT IndexedDBContextImpl
// If |data_path| is empty, nothing will be saved to disk.
IndexedDBContextImpl(const base::FilePath& data_path,
storage::SpecialStoragePolicy* special_storage_policy,
- storage::QuotaManagerProxy* quota_manager_proxy,
- scoped_refptr<base::SequencedTaskRunner> task_runner);
+ storage::QuotaManagerProxy* quota_manager_proxy);
IndexedDBFactory* GetIDBFactory();
@@ -77,7 +76,8 @@ class CONTENT_EXPORT IndexedDBContextImpl
void CopyOriginData(const GURL& origin_url,
IndexedDBContext* dest_context) override;
base::FilePath GetFilePathForTesting(const GURL& origin_url) const override;
- void SetTaskRunnerForTesting(base::SequencedTaskRunner* task_runner) override;
+ void SetTaskRunnerForTesting(
+ const scoped_refptr<base::SequencedTaskRunner>& task_runner) override;
gab 2017/06/13 15:31:23 ditto (prefer by value)
// TODO(jsbell): Replace IndexedDBContext members with these.
int64_t GetOriginDiskUsage(const url::Origin& origin);

Powered by Google App Engine
This is Rietveld 408576698