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 1757693002: Reduce use of DatabaseIdentifier in Indexed DB entry points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change for ZIP file naming Created 4 years, 10 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/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 2bd01120e944b21ff601db8c3232f77ca7dc6ffd..ef9d61f441b0621320594688cbf3d133921bbb15 100644
--- a/content/public/browser/indexed_db_context.h
+++ b/content/public/browser/indexed_db_context.h
@@ -42,7 +42,8 @@ class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
// Get the file name of the local storage file for the given origin.
virtual base::FilePath GetFilePathForTesting(
- const std::string& origin_id) const = 0;
+ const GURL& origin_url) const = 0;
jochen (gone - plz use gerrit) 2016/03/10 15:46:51 should this be Origin?
jsbell 2016/03/10 17:27:55 In general, yes we should switch all of these uses
+
// Set the task runner for tests if browser main loop is not initialized.
virtual void SetTaskRunnerForTesting(
base::SequencedTaskRunner* task_runner) = 0;

Powered by Google App Engine
This is Rietveld 408576698