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

Side by Side Diff: chromeos/dbus/nfc_tag_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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/nfc_record_client.cc ('k') | chromeos/dbus/nfc_tag_client.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NFC_TAG_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_NFC_TAG_CLIENT_H_
6 #define CHROMEOS_DBUS_NFC_TAG_CLIENT_H_ 6 #define CHROMEOS_DBUS_NFC_TAG_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/values.h"
12 #include "chromeos/chromeos_export.h" 13 #include "chromeos/chromeos_export.h"
13 #include "chromeos/dbus/dbus_client.h" 14 #include "chromeos/dbus/dbus_client.h"
14 #include "chromeos/dbus/nfc_client_helpers.h" 15 #include "chromeos/dbus/nfc_client_helpers.h"
15 #include "chromeos/dbus/nfc_property_set.h" 16 #include "chromeos/dbus/nfc_property_set.h"
16 #include "chromeos/dbus/nfc_record_client.h" 17 #include "chromeos/dbus/nfc_record_client.h"
17 #include "dbus/object_path.h" 18 #include "dbus/object_path.h"
18 #include "dbus/object_proxy.h" 19 #include "dbus/object_proxy.h"
19 #include "dbus/property.h" 20 #include "dbus/property.h"
20 21
21 namespace chromeos { 22 namespace chromeos {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // "Language": "en", 95 // "Language": "en",
95 // "Representation": "Chrome OS rulez!" 96 // "Representation": "Chrome OS rulez!"
96 // }, 97 // },
97 // { 98 // {
98 // "Type": "URI", 99 // "Type": "URI",
99 // "URI": "http://www.chromium.org" 100 // "URI": "http://www.chromium.org"
100 // }, 101 // },
101 // etc. 102 // etc.
102 virtual void Write( 103 virtual void Write(
103 const dbus::ObjectPath& object_path, 104 const dbus::ObjectPath& object_path,
104 const NfcRecordClient::Attributes& attributes, 105 const base::DictionaryValue& attributes,
105 const base::Closure& callback, 106 const base::Closure& callback,
106 const nfc_client_helpers::ErrorCallback& error_callback) = 0; 107 const nfc_client_helpers::ErrorCallback& error_callback) = 0;
107 108
108 // Creates the instance. 109 // Creates the instance.
109 static NfcTagClient* Create(NfcAdapterClient* adapter_client); 110 static NfcTagClient* Create(NfcAdapterClient* adapter_client);
110 111
111 protected: 112 protected:
112 friend class NfcClientTest; 113 friend class NfcClientTest;
113 114
114 NfcTagClient(); 115 NfcTagClient();
115 116
116 private: 117 private:
117 DISALLOW_COPY_AND_ASSIGN(NfcTagClient); 118 DISALLOW_COPY_AND_ASSIGN(NfcTagClient);
118 }; 119 };
119 120
120 } // namespace chromeos 121 } // namespace chromeos
121 122
122 #endif // CHROMEOS_DBUS_NFC_TAG_CLIENT_H_ 123 #endif // CHROMEOS_DBUS_NFC_TAG_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/nfc_record_client.cc ('k') | chromeos/dbus/nfc_tag_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698