OLD | NEW |
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 Loading... |
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 |
OLD | NEW |