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

Side by Side Diff: components/metrics/profiler/profiler_metrics_provider.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/metrics/profiler/profiler_metrics_provider.h" 5 #include "components/metrics/profiler/profiler_metrics_provider.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <stddef.h>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/stl_util.h" 12 #include "base/stl_util.h"
12 #include "base/tracked_objects.h" 13 #include "base/tracked_objects.h"
13 #include "components/metrics/metrics_log.h" 14 #include "components/metrics/metrics_log.h"
14 15
15 namespace metrics { 16 namespace metrics {
16 namespace { 17 namespace {
17 18
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 135 }
135 136
136 bool ProfilerMetricsProvider::IsCellularLogicEnabled() { 137 bool ProfilerMetricsProvider::IsCellularLogicEnabled() {
137 if (cellular_callback_.is_null()) 138 if (cellular_callback_.is_null())
138 return false; 139 return false;
139 140
140 return cellular_callback_.Run(); 141 return cellular_callback_.Run();
141 } 142 }
142 143
143 } // namespace metrics 144 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/profiler/profiler_metrics_provider.h ('k') | components/metrics/profiler/tracking_synchronizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698