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

Side by Side Diff: base/message_loop.cc

Issue 10703037: Move StatisticsRecorder out of histogram.cc/h for further refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/debug/alias.h" 11 #include "base/debug/alias.h"
12 #include "base/debug/trace_event.h" 12 #include "base/debug/trace_event.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop_proxy_impl.h" 16 #include "base/message_loop_proxy_impl.h"
17 #include "base/message_pump_default.h" 17 #include "base/message_pump_default.h"
18 #include "base/metrics/histogram.h" 18 #include "base/metrics/histogram.h"
19 #include "base/metrics/statistics_recorder.h"
19 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 20 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
20 #include "base/thread_task_runner_handle.h" 21 #include "base/thread_task_runner_handle.h"
21 #include "base/threading/thread_local.h" 22 #include "base/threading/thread_local.h"
22 #include "base/time.h" 23 #include "base/time.h"
23 #include "base/tracked_objects.h" 24 #include "base/tracked_objects.h"
24 25
25 #if defined(OS_MACOSX) 26 #if defined(OS_MACOSX)
26 #include "base/message_pump_mac.h" 27 #include "base/message_pump_mac.h"
27 #endif 28 #endif
28 #if defined(OS_POSIX) 29 #if defined(OS_POSIX)
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 Watcher *delegate) { 791 Watcher *delegate) {
791 return pump_libevent()->WatchFileDescriptor( 792 return pump_libevent()->WatchFileDescriptor(
792 fd, 793 fd,
793 persistent, 794 persistent,
794 static_cast<base::MessagePumpLibevent::Mode>(mode), 795 static_cast<base::MessagePumpLibevent::Mode>(mode),
795 controller, 796 controller,
796 delegate); 797 delegate);
797 } 798 }
798 799
799 #endif 800 #endif
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/metrics/histogram.h » ('j') | base/metrics/statistics_recorder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698