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

Side by Side Diff: base/trace_event/memory_dump_request_args.cc

Issue 2777093009: [Memory UMA] Return a memory summary struct with the ack message (Closed)
Patch Set: Readd the extra_process_dump map Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/trace_event/memory_dump_request_args.h" 5 #include "base/trace_event/memory_dump_request_args.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace base { 9 namespace base {
10 namespace trace_event { 10 namespace trace_event {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 if (str == "light") 55 if (str == "light")
56 return MemoryDumpLevelOfDetail::LIGHT; 56 return MemoryDumpLevelOfDetail::LIGHT;
57 if (str == "detailed") 57 if (str == "detailed")
58 return MemoryDumpLevelOfDetail::DETAILED; 58 return MemoryDumpLevelOfDetail::DETAILED;
59 NOTREACHED(); 59 NOTREACHED();
60 return MemoryDumpLevelOfDetail::LAST; 60 return MemoryDumpLevelOfDetail::LAST;
61 } 61 }
62 62
63 MemoryDumpCallbackResult::MemoryDumpCallbackResult() {} 63 MemoryDumpCallbackResult::MemoryDumpCallbackResult() {}
64 64
65 MemoryDumpCallbackResult::MemoryDumpCallbackResult(
66 const MemoryDumpCallbackResult&) = default;
67
65 MemoryDumpCallbackResult::~MemoryDumpCallbackResult() {} 68 MemoryDumpCallbackResult::~MemoryDumpCallbackResult() {}
66 69
67 } // namespace trace_event 70 } // namespace trace_event
68 } // namespace base 71 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698