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

Unified Diff: content/browser/storage_partition_impl.h

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove stray mark. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index d4bb8092d9be4d2c747dd5147e21e9c154a3c696..d552c5c96d2b6649556a4941cea93051a6ffe8d4 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -132,14 +132,18 @@ class StoragePartitionImpl : public StoragePartition,
RemoveLocalStorageForLastWeek);
// The |partition_path| is the absolute path to the root of this
michaeln 2016/03/17 22:35:42 comment is confusing and the param names don't mat
Elliot Glaysher 2016/03/18 19:41:13 Fixed comment.
- // StoragePartition's on-disk storage.
+ // StoragePartition's on-disk storage. |local_partition_path| is the relative
+ // path to said root minus the local profile directory for cases where we
+ // can't access anything outside of the local profile.
//
// If |in_memory| is true, the |partition_path| is (ab)used as a way of
// distinguishing different in-memory partitions, but nothing is persisted
// on to disk.
- static StoragePartitionImpl* Create(BrowserContext* context,
- bool in_memory,
- const base::FilePath& profile_path);
+ static StoragePartitionImpl* Create(
+ BrowserContext* context,
+ bool in_memory,
+ const base::FilePath& profile_path,
+ const base::FilePath& relative_partition_path);
CONTENT_EXPORT StoragePartitionImpl(
BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698