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

Side by Side Diff: chromeos/dbus/dbus_method_call_status.h

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix bad merge Created 8 years, 2 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 #ifndef CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_
6 #define CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_ 6 #define CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 9
10 namespace dbus { 10 namespace dbus {
(...skipping 21 matching lines...) Expand all
32 // A callback to handle responses of methods returning a string value. 32 // A callback to handle responses of methods returning a string value.
33 typedef base::Callback<void( 33 typedef base::Callback<void(
34 DBusMethodCallStatus call_status, 34 DBusMethodCallStatus call_status,
35 const std::string& result)> StringDBusMethodCallback; 35 const std::string& result)> StringDBusMethodCallback;
36 36
37 // A callback to handle responses of methods returning a ObjectPath value. 37 // A callback to handle responses of methods returning a ObjectPath value.
38 typedef base::Callback<void( 38 typedef base::Callback<void(
39 DBusMethodCallStatus call_status, 39 DBusMethodCallStatus call_status,
40 const dbus::ObjectPath& result)> ObjectPathDBusMethodCallback; 40 const dbus::ObjectPath& result)> ObjectPathDBusMethodCallback;
41 41
42 // A callback to handle responses of methods returning a ObjectPath value that
43 // doens't get call status.
44 typedef base::Callback<void(const dbus::ObjectPath& result)> ObjectPathCallback;
45
42 } // namespace chromeos 46 } // namespace chromeos
43 47
44 #endif // CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_ 48 #endif // CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cros_network_functions_unittest.cc ('k') | chromeos/dbus/mock_shill_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698