Index: webkit/dom_storage/dom_storage_context.h |
diff --git a/webkit/dom_storage/dom_storage_context.h b/webkit/dom_storage/dom_storage_context.h |
index 1370913d748fdc1d5f281d6c1051cfb4134c3f91..628d8fbe89b8a600b1678a091b4b85f784603e0f 100644 |
--- a/webkit/dom_storage/dom_storage_context.h |
+++ b/webkit/dom_storage/dom_storage_context.h |
@@ -95,6 +95,10 @@ class DomStorageContext |
DomStorageTaskRunner* task_runner() const { return task_runner_; } |
DomStorageNamespace* GetStorageNamespace(int64 namespace_id); |
+ // Returns the directory path for localStorage, or an empty directory, if |
+ // there is no backing on disk. |
+ FilePath GetLocalStorageDirectory(); |
+ |
void GetUsageInfo(std::vector<UsageInfo>* infos, bool include_file_info); |
void DeleteOrigin(const GURL& origin); |
void DeleteDataModifiedSince(const base::Time& cutoff); |
@@ -160,7 +164,7 @@ class DomStorageContext |
// Collection of namespaces keyed by id. |
StorageNamespaceMap namespaces_; |
- // Where localstorage data is stored, maybe empty for the incognito use case. |
+ // Where data is stored, maybe empty for the incognito use case. |
FilePath directory_; |
// Used to schedule sequenced background tasks. |