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

Side by Side Diff: chromeos/dbus/debug_daemon_client.cc

Issue 19468003: Use a direct include of the message_loop header in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_bluetooth_adapter_client.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) 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 <fcntl.h> 5 #include <fcntl.h>
6 #include <unistd.h> 6 #include <unistd.h>
7 7
8 #include "chromeos/dbus/debug_daemon_client.h" 8 #include "chromeos/dbus/debug_daemon_client.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/ref_counted_memory.h" 12 #include "base/memory/ref_counted_memory.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/platform_file.h" 14 #include "base/platform_file.h"
15 #include "base/posix/eintr_wrapper.h" 15 #include "base/posix/eintr_wrapper.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/threading/worker_pool.h" 17 #include "base/threading/worker_pool.h"
18 #include "dbus/bus.h" 18 #include "dbus/bus.h"
19 #include "dbus/message.h" 19 #include "dbus/message.h"
20 #include "dbus/object_path.h" 20 #include "dbus/object_path.h"
21 #include "dbus/object_proxy.h" 21 #include "dbus/object_proxy.h"
22 #include "net/base/file_stream.h" 22 #include "net/base/file_stream.h"
23 #include "net/base/io_buffer.h" 23 #include "net/base/io_buffer.h"
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 // static 673 // static
674 DebugDaemonClient* DebugDaemonClient::Create(DBusClientImplementationType type, 674 DebugDaemonClient* DebugDaemonClient::Create(DBusClientImplementationType type,
675 dbus::Bus* bus) { 675 dbus::Bus* bus) {
676 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) 676 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
677 return new DebugDaemonClientImpl(bus); 677 return new DebugDaemonClientImpl(bus);
678 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); 678 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type);
679 return new DebugDaemonClientStubImpl(); 679 return new DebugDaemonClientStubImpl();
680 } 680 }
681 681
682 } // namespace chromeos 682 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698