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

Unified Diff: ios/crnet/sdch_owner_pref_storage.cc

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/crnet/sdch_owner_pref_storage.h ('k') | ios/net/clients/crn_network_client_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/sdch_owner_pref_storage.cc
diff --git a/ios/crnet/sdch_owner_pref_storage.cc b/ios/crnet/sdch_owner_pref_storage.cc
index 3af81f5f7a681dae091cbabd4a0f0d548b1a7ee2..292eaa24f2ea0dd8503846826cde569df351102f 100644
--- a/ios/crnet/sdch_owner_pref_storage.cc
+++ b/ios/crnet/sdch_owner_pref_storage.cc
@@ -72,7 +72,8 @@ bool SdchOwnerPrefStorage::GetMutableValue(base::DictionaryValue** result) {
return result_value->GetAsDictionary(result);
}
-void SdchOwnerPrefStorage::SetValue(scoped_ptr<base::DictionaryValue> value) {
+void SdchOwnerPrefStorage::SetValue(
+ std::unique_ptr<base::DictionaryValue> value) {
storage_->SetValue(storage_key_, std::move(value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
« no previous file with comments | « ios/crnet/sdch_owner_pref_storage.h ('k') | ios/net/clients/crn_network_client_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698