Index: base/metrics/persistent_memory_allocator.h |
diff --git a/base/metrics/persistent_memory_allocator.h b/base/metrics/persistent_memory_allocator.h |
index 4c0db5264a8f810721653d130c6428437ef5f9aa..56983ac3a114dd0fd22c8b5cda4f7700cc582e6b 100644 |
--- a/base/metrics/persistent_memory_allocator.h |
+++ b/base/metrics/persistent_memory_allocator.h |
@@ -12,6 +12,7 @@ |
#include "base/atomicops.h" |
#include "base/base_export.h" |
+#include "base/files/file_path.h" |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "base/strings/string_piece.h" |
@@ -126,6 +127,10 @@ class BASE_EXPORT PersistentMemoryAllocator { |
kTypeIdAny = 0 // Match any type-id inside GetAsObject(). |
}; |
+ // This is the standard file extension (suitable for being passed to the |
+ // AddExtension() method of base::FilePath) for dumps of persistent memory. |
+ static const base::FilePath::CharType kFileExtension[]; |
+ |
// The allocator operates on any arbitrary block of memory. Creation and |
// persisting or sharing of that block with another process is the |
// responsibility of the caller. The allocator needs to know only the |