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

Side by Side Diff: components/metrics/call_stack_profile_metrics_provider.h

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 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 COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ 5 #ifndef COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_
6 #define COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ 6 #define COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "base/profiler/stack_sampling_profiler.h" 12 #include "base/profiler/stack_sampling_profiler.h"
12 #include "components/metrics/metrics_provider.h" 13 #include "components/metrics/metrics_provider.h"
13 14
14 namespace metrics { 15 namespace metrics {
15 class ChromeUserMetricsExtension; 16 class ChromeUserMetricsExtension;
16 17
17 // Performs metrics logging for the stack sampling profiler. 18 // Performs metrics logging for the stack sampling profiler.
18 class CallStackProfileMetricsProvider : public MetricsProvider { 19 class CallStackProfileMetricsProvider : public MetricsProvider {
19 public: 20 public:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Returns true if reporting of profiles is enabled according to the 74 // Returns true if reporting of profiles is enabled according to the
74 // controlling Finch field trial. 75 // controlling Finch field trial.
75 static bool IsReportingEnabledByFieldTrial(); 76 static bool IsReportingEnabledByFieldTrial();
76 77
77 DISALLOW_COPY_AND_ASSIGN(CallStackProfileMetricsProvider); 78 DISALLOW_COPY_AND_ASSIGN(CallStackProfileMetricsProvider);
78 }; 79 };
79 80
80 } // namespace metrics 81 } // namespace metrics
81 82
82 #endif // COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ 83 #endif // COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/message_port/web_message_port_channel_impl.cc ('k') | components/metrics/call_stack_profile_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698