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

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

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tracking_synchronizer.h" 5 #include "components/metrics/profiler/tracking_synchronizer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/tracked_objects.h" 15 #include "base/tracked_objects.h"
16 #include "components/metrics/profiler/tracking_synchronizer_observer.h" 16 #include "components/metrics/profiler/tracking_synchronizer_observer.h"
17 #include "components/variations/variations_associated_data.h" 17 #include "components/variations/variations_associated_data.h"
18 18
19 using base::TimeTicks; 19 using base::TimeTicks;
20 20
21 namespace metrics { 21 namespace metrics {
22 22
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 369
370 ++last_used_sequence_number_; 370 ++last_used_sequence_number_;
371 371
372 // Watch out for wrapping to a negative number. 372 // Watch out for wrapping to a negative number.
373 if (last_used_sequence_number_ < 0) 373 if (last_used_sequence_number_ < 0)
374 last_used_sequence_number_ = 1; 374 last_used_sequence_number_ = 1;
375 return last_used_sequence_number_; 375 return last_used_sequence_number_;
376 } 376 }
377 377
378 } // namespace metrics 378 } // namespace metrics
OLDNEW
« no previous file with comments | « components/memory_pressure/memory_pressure_stats_collector.cc ('k') | components/metrics/stability_metrics_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698