Chromium Code Reviews| Index: content/browser/dom_storage/session_storage_database.h |
| diff --git a/content/browser/dom_storage/session_storage_database.h b/content/browser/dom_storage/session_storage_database.h |
| index 7ca2da71846f9198c9f80912e899151fdfafa417..45047a5c4596dc704c87c65e43eba72a82b2935c 100644 |
| --- a/content/browser/dom_storage/session_storage_database.h |
| +++ b/content/browser/dom_storage/session_storage_database.h |
| @@ -27,6 +27,12 @@ struct ReadOptions; |
| class WriteBatch; |
| } // namespace leveldb |
| +namespace base { |
| +namespace trace_event { |
| +class ProcessMemoryDump; |
| +} |
| +} |
| + |
| namespace content { |
| // SessionStorageDatabase holds the data from multiple namespaces and multiple |
| @@ -75,6 +81,9 @@ class CONTENT_EXPORT SessionStorageDatabase : |
| bool ReadNamespacesAndOrigins( |
| std::map<std::string, std::vector<GURL> >* namespaces_and_origins); |
| + // Adds memory statistics to |pmd| for chrome://tracing. |
| + bool OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd); |
|
michaeln
2016/05/02 22:47:12
maybe remove the return value since it's always |t
ssid
2016/05/04 06:06:14
Done.
|
| + |
| private: |
| friend class base::RefCountedThreadSafe<SessionStorageDatabase>; |
| class DBOperation; |