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