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, |