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

Unified Diff: ios/crnet/sdch_owner_pref_storage.h

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/crnet_environment.mm ('k') | ios/crnet/sdch_owner_pref_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/sdch_owner_pref_storage.h
diff --git a/ios/crnet/sdch_owner_pref_storage.h b/ios/crnet/sdch_owner_pref_storage.h
index fbb177e6d801f858028ce9d07e19e6765686357f..5ecaf1eb2cdaac516bbb5f17fd81e6aad9bf6210 100644
--- a/ios/crnet/sdch_owner_pref_storage.h
+++ b/ios/crnet/sdch_owner_pref_storage.h
@@ -5,6 +5,8 @@
#ifndef IOS_CRNET_SDCH_OWNER_PREF_STORAGE_H_
#define IOS_CRNET_SDCH_OWNER_PREF_STORAGE_H_
+#include <memory>
+
#include "base/macros.h"
#include "components/prefs/pref_store.h"
#include "net/sdch/sdch_owner.h"
@@ -24,7 +26,7 @@ class SdchOwnerPrefStorage
ReadError GetReadError() const override;
bool GetValue(const base::DictionaryValue** result) const override;
bool GetMutableValue(base::DictionaryValue** result) override;
- void SetValue(scoped_ptr<base::DictionaryValue> value) override;
+ void SetValue(std::unique_ptr<base::DictionaryValue> value) override;
void ReportValueChanged() override;
bool IsInitializationComplete() override;
void StartObservingInit(net::SdchOwner* observer) override;
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | ios/crnet/sdch_owner_pref_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698