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

Unified Diff: base/trace_event/process_memory_totals.h

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
Index: base/trace_event/process_memory_totals.h
diff --git a/base/trace_event/process_memory_totals.h b/base/trace_event/process_memory_totals.h
index 1c99152fa84b6086163393c247be39d146ee0334..29c94c9aaccb6cc60bcc0d092c4bcbc52d938eff 100644
--- a/base/trace_event/process_memory_totals.h
+++ b/base/trace_event/process_memory_totals.h
@@ -13,10 +13,10 @@ namespace trace_event {
class TracedValue;
-// Dump provider which collects process-wide memory stats.
+// Data model for process-wide memory stats.
class BASE_EXPORT ProcessMemoryTotals {
public:
- ProcessMemoryTotals() {}
+ ProcessMemoryTotals() : resident_set_bytes_(0) {}
// Called at trace generation time to populate the TracedValue.
void AsValueInto(TracedValue* value) const;
« no previous file with comments | « base/trace_event/process_memory_maps_dump_provider_unittest.cc ('k') | base/trace_event/process_memory_totals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698