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

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

Issue 10078007: Add chromeos::FlimflamDeviceClient::CallGetPropertiesAndBlock/CallAddIPConfigAndBlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 years, 8 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 | « no previous file | chromeos/dbus/flimflam_client_helper.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 #ifndef CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_ 5 #ifndef CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_
6 #define CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_ 6 #define CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const VoidCallback& callback); 72 const VoidCallback& callback);
73 73
74 // Calls a method with an object path result. 74 // Calls a method with an object path result.
75 void CallObjectPathMethod(dbus::MethodCall* method_call, 75 void CallObjectPathMethod(dbus::MethodCall* method_call,
76 const ObjectPathCallback& callback); 76 const ObjectPathCallback& callback);
77 77
78 // Calls a method with a dictionary value result. 78 // Calls a method with a dictionary value result.
79 void CallDictionaryValueMethod(dbus::MethodCall* method_call, 79 void CallDictionaryValueMethod(dbus::MethodCall* method_call,
80 const DictionaryValueCallback& callback); 80 const DictionaryValueCallback& callback);
81 81
82 // DEPRECATED DO NOT USE: Calls a method with an object path result.
83 dbus::ObjectPath CallObjectPathMethodAndBlock(dbus::MethodCall* method_call);
84
82 // DEPRECATED DO NOT USE: Calls a method with a dictionary value result. 85 // DEPRECATED DO NOT USE: Calls a method with a dictionary value result.
83 // The caller is responsible to delete the result. 86 // The caller is responsible to delete the result.
84 // This method returns NULL when method call fails. 87 // This method returns NULL when method call fails.
85 base::DictionaryValue* CallDictionaryValueMethodAndBlock( 88 base::DictionaryValue* CallDictionaryValueMethodAndBlock(
86 dbus::MethodCall* method_call); 89 dbus::MethodCall* method_call);
87 90
88 // Appends the value (basic types and string-to-string dictionary) to the 91 // Appends the value (basic types and string-to-string dictionary) to the
89 // writer as a variant. 92 // writer as a variant.
90 static void AppendValueDataAsVariant(dbus::MessageWriter* writer, 93 static void AppendValueDataAsVariant(dbus::MessageWriter* writer,
91 const base::Value& value); 94 const base::Value& value);
(...skipping 23 matching lines...) Expand all
115 BlockingMethodCaller blocking_method_caller_; 118 BlockingMethodCaller blocking_method_caller_;
116 dbus::ObjectProxy* proxy_; 119 dbus::ObjectProxy* proxy_;
117 PropertyChangedHandler property_changed_handler_; 120 PropertyChangedHandler property_changed_handler_;
118 121
119 DISALLOW_COPY_AND_ASSIGN(FlimflamClientHelper); 122 DISALLOW_COPY_AND_ASSIGN(FlimflamClientHelper);
120 }; 123 };
121 124
122 } // namespace chromeos 125 } // namespace chromeos
123 126
124 #endif // CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_ 127 #endif // CHROMEOS_DBUS_FLIMFLAM_CLIENT_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/flimflam_client_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698