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

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

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 4 years, 12 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/trace_log.cc ('k') | base/trace_event/winheap_dump_provider_win.h » ('j') | 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/trace_sampling_thread.h" 5 #include <stddef.h>
6
6 #include "base/trace_event/trace_event_impl.h" 7 #include "base/trace_event/trace_event_impl.h"
7 #include "base/trace_event/trace_log.h" 8 #include "base/trace_event/trace_log.h"
9 #include "base/trace_event/trace_sampling_thread.h"
8 10
9 namespace base { 11 namespace base {
10 namespace trace_event { 12 namespace trace_event {
11 13
12 class TraceBucketData { 14 class TraceBucketData {
13 public: 15 public:
14 TraceBucketData(base::subtle::AtomicWord* bucket, 16 TraceBucketData(base::subtle::AtomicWord* bucket,
15 const char* name, 17 const char* name,
16 TraceSampleCallback callback); 18 TraceSampleCallback callback);
17 ~TraceBucketData(); 19 ~TraceBucketData();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 94
93 TraceBucketData::TraceBucketData(base::subtle::AtomicWord* bucket, 95 TraceBucketData::TraceBucketData(base::subtle::AtomicWord* bucket,
94 const char* name, 96 const char* name,
95 TraceSampleCallback callback) 97 TraceSampleCallback callback)
96 : bucket(bucket), bucket_name(name), callback(callback) {} 98 : bucket(bucket), bucket_name(name), callback(callback) {}
97 99
98 TraceBucketData::~TraceBucketData() {} 100 TraceBucketData::~TraceBucketData() {}
99 101
100 } // namespace trace_event 102 } // namespace trace_event
101 } // namespace base 103 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/trace_log.cc ('k') | base/trace_event/winheap_dump_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698