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

Side by Side Diff: chrome/browser/metrics/histogram_synchronizer.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/metrics/histogram_synchronizer.h" 5 #include "chrome/browser/metrics/histogram_synchronizer.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/thread.h" 9 #include "base/threading/thread.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/renderer_host/render_process_host.h" 11 #include "chrome/browser/renderer_host/render_process_host.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
14 14
15 using base::Time; 15 using base::Time;
16 using base::TimeDelta; 16 using base::TimeDelta;
17 using base::TimeTicks; 17 using base::TimeTicks;
18 18
19 // Negative numbers are never used as sequence numbers. We explicitly pick a 19 // Negative numbers are never used as sequence numbers. We explicitly pick a
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 async_renderers_pending_ = renderer_count; 249 async_renderers_pending_ = renderer_count;
250 } else if (requester == SYNCHRONOUS_HISTOGRAMS) { 250 } else if (requester == SYNCHRONOUS_HISTOGRAMS) {
251 synchronous_sequence_number_ = last_used_sequence_number_; 251 synchronous_sequence_number_ = last_used_sequence_number_;
252 synchronous_renderers_pending_ = renderer_count; 252 synchronous_renderers_pending_ = renderer_count;
253 } 253 }
254 return last_used_sequence_number_; 254 return last_used_sequence_number_;
255 } 255 }
256 256
257 // static 257 // static
258 HistogramSynchronizer* HistogramSynchronizer::histogram_synchronizer_ = NULL; 258 HistogramSynchronizer* HistogramSynchronizer::histogram_synchronizer_ = NULL;
OLDNEW
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698