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

Unified Diff: chromeos/dbus/nfc_record_client.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/nfc_property_set.cc ('k') | chromeos/dbus/nfc_record_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/nfc_record_client.h
diff --git a/chromeos/dbus/nfc_record_client.h b/chromeos/dbus/nfc_record_client.h
index b514bdbf72360f6417ac0967939be22c67f75a98..0a1f158386b03f443cf9a93ba43c1ba010b55a5a 100644
--- a/chromeos/dbus/nfc_record_client.h
+++ b/chromeos/dbus/nfc_record_client.h
@@ -91,12 +91,16 @@ class CHROMEOS_EXPORT NfcRecordClient : public DBusClient {
// with object path |object_path| has acquired a new value.
virtual void RecordPropertyChanged(const dbus::ObjectPath& object_path,
const std::string& property_name) {}
- };
- // NDEF records can be created via the Tag and Device interfaces by passing a
- // dictionary of strings containing the record properties and their values to
- // their respective API methods.
- typedef std::map<std::string, std::string> Attributes;
+ // Called when all properties for the record with object path |object_path|
+ // have been received. This method will be called after
+ // Observer::RecordPropertyChanged has been called for all properties that
+ // were received through the initial property fetch that is done when the
+ // object proxy is first created. Observers can use this method to be
+ // notified when all existing properties of a record are available for use.
+ virtual void RecordPropertiesReceived(
+ const dbus::ObjectPath& object_path) {}
+ };
virtual ~NfcRecordClient();
« no previous file with comments | « chromeos/dbus/nfc_property_set.cc ('k') | chromeos/dbus/nfc_record_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698