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

Side by Side Diff: device/bluetooth/dbus/dbus_thread_manager_linux.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 "device/bluetooth/dbus/dbus_thread_manager_linux.h" 5 #include "device/bluetooth/dbus/dbus_thread_manager_linux.h"
6 6
7 #include "base/message_loop/message_loop.h"
7 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
8 #include "dbus/bus.h" 9 #include "dbus/bus.h"
9 10
10 namespace bluez { 11 namespace bluez {
11 12
12 static DBusThreadManagerLinux* g_linux_dbus_manager = NULL; 13 static DBusThreadManagerLinux* g_linux_dbus_manager = NULL;
13 14
14 DBusThreadManagerLinux::DBusThreadManagerLinux() { 15 DBusThreadManagerLinux::DBusThreadManagerLinux() {
15 base::Thread::Options thread_options; 16 base::Thread::Options thread_options;
16 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; 17 thread_options.message_loop_type = base::MessageLoop::TYPE_IO;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 64 }
64 65
65 // static 66 // static
66 DBusThreadManagerLinux* DBusThreadManagerLinux::Get() { 67 DBusThreadManagerLinux* DBusThreadManagerLinux::Get() {
67 CHECK(g_linux_dbus_manager) 68 CHECK(g_linux_dbus_manager)
68 << "LinuxDBusManager::Get() called before Initialize()"; 69 << "LinuxDBusManager::Get() called before Initialize()";
69 return g_linux_dbus_manager; 70 return g_linux_dbus_manager;
70 } 71 }
71 72
72 } // namespace bluez 73 } // namespace bluez
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698