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

Side by Side Diff: base/message_loop.cc

Issue 5986012: Move thread local stuff from base to base/threading and consistently use the... (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 | « base/base.gypi ('k') | base/metrics/stats_table.h » ('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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_pump_default.h" 12 #include "base/message_pump_default.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/thread_local.h" 14 #include "base/threading/thread_local.h"
15 15
16 #if defined(OS_MACOSX) 16 #if defined(OS_MACOSX)
17 #include "base/message_pump_mac.h" 17 #include "base/message_pump_mac.h"
18 #endif 18 #endif
19 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
20 #include "base/message_pump_libevent.h" 20 #include "base/message_pump_libevent.h"
21 #include "base/third_party/valgrind/valgrind.h" 21 #include "base/third_party/valgrind/valgrind.h"
22 #endif 22 #endif
23 #if defined(OS_POSIX) && !defined(OS_MACOSX) 23 #if defined(OS_POSIX) && !defined(OS_MACOSX)
24 #include "base/message_pump_glib.h" 24 #include "base/message_pump_glib.h"
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 Watcher *delegate) { 702 Watcher *delegate) {
703 return pump_libevent()->WatchFileDescriptor( 703 return pump_libevent()->WatchFileDescriptor(
704 fd, 704 fd,
705 persistent, 705 persistent,
706 static_cast<base::MessagePumpLibevent::Mode>(mode), 706 static_cast<base::MessagePumpLibevent::Mode>(mode),
707 controller, 707 controller,
708 delegate); 708 delegate);
709 } 709 }
710 710
711 #endif 711 #endif
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/metrics/stats_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698