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

Side by Side Diff: base/trace_event/process_memory_totals.h

Issue 1546033002: Switch to standard integer types in base/trace_event/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ 5 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_
6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ 6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_
7 7
8 #include <stdint.h>
9
8 #include <map> 10 #include <map>
9 11
10 #include "base/base_export.h" 12 #include "base/base_export.h"
11 #include "base/basictypes.h" 13 #include "base/macros.h"
12 14
13 namespace base { 15 namespace base {
14 namespace trace_event { 16 namespace trace_event {
15 17
16 class TracedValue; 18 class TracedValue;
17 19
18 // Data model for process-wide memory stats. 20 // Data model for process-wide memory stats.
19 class BASE_EXPORT ProcessMemoryTotals { 21 class BASE_EXPORT ProcessMemoryTotals {
20 public: 22 public:
21 ProcessMemoryTotals(); 23 ProcessMemoryTotals();
(...skipping 30 matching lines...) Expand all
52 // Extra metrics for OS-specific statistics. 54 // Extra metrics for OS-specific statistics.
53 std::map<const char*, uint64_t> extra_fields_; 55 std::map<const char*, uint64_t> extra_fields_;
54 56
55 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryTotals); 57 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryTotals);
56 }; 58 };
57 59
58 } // namespace trace_event 60 } // namespace trace_event
59 } // namespace base 61 } // namespace base
60 62
61 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ 63 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_
OLDNEW
« no previous file with comments | « base/trace_event/process_memory_maps_dump_provider_unittest.cc ('k') | base/trace_event/process_memory_totals_dump_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698