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

Side by Side Diff: content/child/child_histogram_message_filter.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 "content/child/child_histogram_message_filter.h" 5 #include "content/child/child_histogram_message_filter.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/metrics/histogram_delta_serialization.h" 11 #include "base/metrics/histogram_delta_serialization.h"
12 #include "base/metrics/histogram_macros.h"
12 #include "base/metrics/persistent_histogram_allocator.h" 13 #include "base/metrics/persistent_histogram_allocator.h"
13 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
14 #include "content/child/child_process.h" 15 #include "content/child/child_process.h"
15 #include "content/common/child_process_messages.h" 16 #include "content/common/child_process_messages.h"
16 #include "ipc/ipc_sender.h" 17 #include "ipc/ipc_sender.h"
17 18
18 namespace content { 19 namespace content {
19 20
20 ChildHistogramMessageFilter::ChildHistogramMessageFilter() 21 ChildHistogramMessageFilter::ChildHistogramMessageFilter()
21 : sender_(NULL), 22 : sender_(NULL),
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas)); 92 new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas));
92 93
93 #ifndef NDEBUG 94 #ifndef NDEBUG
94 static int count = 0; 95 static int count = 0;
95 count++; 96 count++;
96 LOCAL_HISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count); 97 LOCAL_HISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count);
97 #endif 98 #endif
98 } 99 }
99 100
100 } // namespace content 101 } // namespace content
OLDNEW
« no previous file with comments | « content/child/child_discardable_shared_memory_manager.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698