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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 #include "components/metrics/call_stack_profile_metrics_provider.h" 5 #include "components/metrics/call_stack_profile_metrics_provider.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <cstring> 11 #include <cstring>
12 #include <map> 12 #include <map>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/location.h" 17 #include "base/location.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/memory/singleton.h" 20 #include "base/memory/singleton.h"
21 #include "base/metrics/field_trial.h" 21 #include "base/metrics/field_trial.h"
22 #include "base/metrics/metrics_hashes.h" 22 #include "base/metrics/metrics_hashes.h"
23 #include "base/profiler/stack_sampling_profiler.h" 23 #include "base/profiler/stack_sampling_profiler.h"
24 #include "base/single_thread_task_runner.h" 24 #include "base/single_thread_task_runner.h"
25 #include "base/synchronization/lock.h" 25 #include "base/synchronization/lock.h"
26 #include "base/thread_task_runner_handle.h" 26 #include "base/threading/thread_task_runner_handle.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" 28 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
29 29
30 using base::StackSamplingProfiler; 30 using base::StackSamplingProfiler;
31 31
32 namespace metrics { 32 namespace metrics {
33 33
34 namespace { 34 namespace {
35 35
36 // ProfilesState -------------------------------------------------------------- 36 // ProfilesState --------------------------------------------------------------
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 // static 388 // static
389 bool CallStackProfileMetricsProvider::IsReportingEnabledByFieldTrial() { 389 bool CallStackProfileMetricsProvider::IsReportingEnabledByFieldTrial() {
390 const std::string group_name = base::FieldTrialList::FindFullName( 390 const std::string group_name = base::FieldTrialList::FindFullName(
391 CallStackProfileMetricsProvider::kFieldTrialName); 391 CallStackProfileMetricsProvider::kFieldTrialName);
392 return group_name == 392 return group_name ==
393 CallStackProfileMetricsProvider::kReportProfilesGroupName; 393 CallStackProfileMetricsProvider::kReportProfilesGroupName;
394 } 394 }
395 395
396 } // namespace metrics 396 } // namespace metrics
OLDNEW
« no previous file with comments | « components/keyed_service/core/refcounted_keyed_service.cc ('k') | components/metrics/file_metrics_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698