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

Unified Diff: chromeos/dbus/nfc_client_helpers.h

Issue 99903003: nfc: Various fixes to the NFC D-Bus client in chromeos/dbus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed clang error. Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_nfc_tag_client.cc ('k') | chromeos/dbus/nfc_client_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/nfc_client_helpers.h
diff --git a/chromeos/dbus/nfc_client_helpers.h b/chromeos/dbus/nfc_client_helpers.h
index dedd4a4ce5a93711e231c007b7849f82288706b3..e2e8b06bb9b7faf3fff539df4282e21f31837da5 100644
--- a/chromeos/dbus/nfc_client_helpers.h
+++ b/chromeos/dbus/nfc_client_helpers.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/values.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/nfc_property_set.h"
#include "dbus/bus.h"
@@ -44,6 +45,12 @@ CHROMEOS_EXPORT void OnSuccess(const base::Closure& callback,
CHROMEOS_EXPORT void OnError(const ErrorCallback& error_callback,
dbus::ErrorResponse* response);
+// Appends any value (basic types and nested types) represented by |value| to
+// the writer |writer| as a variant type.
+// TODO(armansito): Consider moving this to dbus/values_util.h"
+CHROMEOS_EXPORT void AppendValueDataAsVariant(dbus::MessageWriter* writer,
+ const base::Value& value);
+
// DBusObjectMap is a simple data structure that facilitates keeping track of
// D-Bus object proxies and properties. It maintains a mapping from object
// paths to object proxy - property structure pairs.
« no previous file with comments | « chromeos/dbus/fake_nfc_tag_client.cc ('k') | chromeos/dbus/nfc_client_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698