| Index: content/browser/dom_storage/dom_storage_area.h
|
| diff --git a/content/browser/dom_storage/dom_storage_area.h b/content/browser/dom_storage/dom_storage_area.h
|
| index 4e91b605fe37880cd1c986bdd7fb90de71e8b071..9fc646be19bae8f38225e9204c780fb8ab094188 100644
|
| --- a/content/browser/dom_storage/dom_storage_area.h
|
| +++ b/content/browser/dom_storage/dom_storage_area.h
|
| @@ -21,6 +21,12 @@
|
| #include "content/common/dom_storage/dom_storage_types.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace base {
|
| +namespace trace_event {
|
| +class ProcessMemoryDump;
|
| +}
|
| +}
|
| +
|
| namespace content {
|
|
|
| class DOMStorageDatabaseAdapter;
|
| @@ -96,6 +102,9 @@ class CONTENT_EXPORT DOMStorageArea
|
| // Returns true if the data is loaded in memory.
|
| bool IsLoadedInMemory() const { return is_initial_import_done_; }
|
|
|
| + // Adds memory statistics to |pmd| for chrome://tracing.
|
| + void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd);
|
| +
|
| private:
|
| friend class DOMStorageAreaTest;
|
| FRIEND_TEST_ALL_PREFIXES(DOMStorageAreaTest, DOMStorageAreaBasics);
|
|
|