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

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

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 <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/chromeos/chromeos_version.h" 12 #include "base/chromeos/chromeos_version.h"
13 #include "base/eintr_wrapper.h"
14 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
15 #include "base/message_loop.h" 14 #include "base/message_loop.h"
16 #include "base/platform_file.h" 15 #include "base/platform_file.h"
16 #include "base/posix/eintr_wrapper.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/threading/worker_pool.h" 18 #include "base/threading/worker_pool.h"
19 #include "dbus/bus.h" 19 #include "dbus/bus.h"
20 #include "dbus/message.h" 20 #include "dbus/message.h"
21 #include "dbus/object_path.h" 21 #include "dbus/object_path.h"
22 #include "dbus/object_proxy.h" 22 #include "dbus/object_proxy.h"
23 #include "net/base/file_stream.h" 23 #include "net/base/file_stream.h"
24 #include "net/base/io_buffer.h" 24 #include "net/base/io_buffer.h"
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "third_party/cros_system_api/dbus/service_constants.h" 26 #include "third_party/cros_system_api/dbus/service_constants.h"
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 // static 589 // static
590 DebugDaemonClient* DebugDaemonClient::Create(DBusClientImplementationType type, 590 DebugDaemonClient* DebugDaemonClient::Create(DBusClientImplementationType type,
591 dbus::Bus* bus) { 591 dbus::Bus* bus) {
592 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) 592 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
593 return new DebugDaemonClientImpl(bus); 593 return new DebugDaemonClientImpl(bus);
594 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); 594 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type);
595 return new DebugDaemonClientStubImpl(); 595 return new DebugDaemonClientStubImpl();
596 } 596 }
597 597
598 } // namespace chromeos 598 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_helper_linux.cc ('k') | content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698