Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Unified Diff: components/metrics/file_metrics_provider.h

Issue 2742193002: Harden allocator for file-backed memory. (Closed)
Patch Set: addressed final review comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/metrics/persistent_memory_allocator_unittest.cc ('k') | components/metrics/file_metrics_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/file_metrics_provider.h
diff --git a/components/metrics/file_metrics_provider.h b/components/metrics/file_metrics_provider.h
index 080a8211dd2c0de10bc5c6d06ae6b94a6a462513..a9e3942d2b26f9929e2854242e67738c618515f7 100644
--- a/components/metrics/file_metrics_provider.h
+++ b/components/metrics/file_metrics_provider.h
@@ -129,6 +129,9 @@ class FileMetricsProvider : public MetricsProvider,
// File could not be opened.
ACCESS_RESULT_NO_OPEN,
+ // File contents were internally deleted.
+ ACCESS_RESULT_MEMORY_DELETED,
+
ACCESS_RESULT_MAX
};
« no previous file with comments | « base/metrics/persistent_memory_allocator_unittest.cc ('k') | components/metrics/file_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698