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

Unified Diff: device/nfc/nfc_ndef_record_utils_chromeos.h

Issue 2292703002: chromeos: Remove unused NFC D-Bus client library (Closed)
Patch Set: rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/nfc/nfc_ndef_record_unittest.cc ('k') | device/nfc/nfc_ndef_record_utils_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/nfc/nfc_ndef_record_utils_chromeos.h
diff --git a/device/nfc/nfc_ndef_record_utils_chromeos.h b/device/nfc/nfc_ndef_record_utils_chromeos.h
deleted file mode 100644
index 77bc2cdea04cb7e96e6e11d85df63c468d84ed7b..0000000000000000000000000000000000000000
--- a/device/nfc/nfc_ndef_record_utils_chromeos.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/values.h"
-#include "chromeos/dbus/nfc_record_client.h"
-
-#ifndef DEVICE_NFC_CHROMEOS_NDEF_RECORD_UTILS_CHROMEOS_H_
-#define DEVICE_NFC_CHROMEOS_NDEF_RECORD_UTILS_CHROMEOS_H_
-
-namespace device {
-class NfcNdefRecord;
-} // namespace device
-
-namespace chromeos {
-namespace nfc_ndef_record_utils {
-
-// Converts the NfcNdefRecord |record| to a dictionary that can be passed to
-// NfcDeviceClient::Push and NfcTagClient::Write and stores it in |out|.
-// Returns false, if an error occurs during conversion.
-bool NfcNdefRecordToDBusAttributes(
- const device::NfcNdefRecord* record,
- base::DictionaryValue* out);
-
-// Converts an NDEF record D-Bus properties structure to an NfcNdefRecord
-// instance by populating the instance passed in |out|. |out| must not be NULL
-// and must not be already populated. Returns false, if an error occurs during
-// conversion.
-bool RecordPropertiesToNfcNdefRecord(
- const NfcRecordClient::Properties* properties,
- device::NfcNdefRecord* out);
-
-} // namespace nfc_ndef_record_utils
-} // namespace chromeos
-
-#endif // DEVICE_NFC_CHROMEOS_NDEF_RECORD_UTILS_CHROMEOS_H_
« no previous file with comments | « device/nfc/nfc_ndef_record_unittest.cc ('k') | device/nfc/nfc_ndef_record_utils_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698