Chromium Code Reviews| 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); |
|
michaeln
2016/03/16 03:11:13
These two paths are confusing and i think potentia
Elliot Glaysher
2016/03/17 19:29:44
Done.
|
| CONTENT_EXPORT StoragePartitionImpl( |
| BrowserContext* browser_context, |