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

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: Add OWNERS file by request. 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 de27bc8991e0205a642ff4781e0b17a9b604add9..96c8b94326a2df2cce215adb872fd79c9aabe4b5 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
- // 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& local_partition_path);
CONTENT_EXPORT StoragePartitionImpl(
BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698