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

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

Issue 2755343003: memory-infra: Add a struct to carry memory use information (Closed)
Patch Set: remove one field and rename one field 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 unified diff | Download patch
« no previous file with comments | « base/trace_event/memory_dump_request_args.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 if (str == "background") 53 if (str == "background")
54 return MemoryDumpLevelOfDetail::BACKGROUND; 54 return MemoryDumpLevelOfDetail::BACKGROUND;
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() {}
64
65 MemoryDumpCallbackResult::~MemoryDumpCallbackResult() {}
66
63 } // namespace trace_event 67 } // namespace trace_event
64 } // namespace base 68 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/memory_dump_request_args.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698