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

Unified Diff: device/nfc/nfc_tag_chromeos.h

Issue 1874313002: Convert device to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/nfc/nfc_ndef_record_utils_chromeos.cc ('k') | device/serial/data_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/nfc/nfc_tag_chromeos.h
diff --git a/device/nfc/nfc_tag_chromeos.h b/device/nfc/nfc_tag_chromeos.h
index 590349303fd85f0ddf2c1c201492219edf22a445..59fdd32fe21928bfb960cfa8ae9aa2b4b882d419 100644
--- a/device/nfc/nfc_tag_chromeos.h
+++ b/device/nfc/nfc_tag_chromeos.h
@@ -5,10 +5,10 @@
#ifndef DEVICE_NFC_NFC_TAG_CHROMEOS_H_
#define DEVICE_NFC_NFC_TAG_CHROMEOS_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "chromeos/dbus/nfc_tag_client.h"
#include "dbus/object_path.h"
@@ -57,7 +57,7 @@ class NfcTagChromeOS : public device::NfcTag,
// The NfcNdefTagTechnology instance that allows users to perform NDEF
// read and write on this tag.
- scoped_ptr<NfcNdefTagTechnologyChromeOS> ndef_technology_;
+ std::unique_ptr<NfcNdefTagTechnologyChromeOS> ndef_technology_;
// List of observers interested in event notifications from us.
base::ObserverList<device::NfcTag::Observer> observers_;
« no previous file with comments | « device/nfc/nfc_ndef_record_utils_chromeos.cc ('k') | device/serial/data_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698