Index: chrome/browser/safe_browsing/incident_reporting/state_store.h |
diff --git a/chrome/browser/safe_browsing/incident_reporting/state_store.h b/chrome/browser/safe_browsing/incident_reporting/state_store.h |
index 33db29d2f5a4d6d461ec255a8d2d262630885cb5..f9652a1da453a209a2568cdebb18cbb58fa62beb 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/state_store.h |
+++ b/chrome/browser/safe_browsing/incident_reporting/state_store.h |
@@ -7,11 +7,11 @@ |
#include <stdint.h> |
+#include <memory> |
#include <string> |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/prefs/scoped_user_pref_update.h" |
class Profile; |
@@ -70,14 +70,14 @@ class StateStore { |
base::DictionaryValue* GetPrefDict(); |
// Replaces the contents of the underlying dictionary value. |
- void ReplacePrefDict(scoped_ptr<base::DictionaryValue> pref_dict); |
+ void ReplacePrefDict(std::unique_ptr<base::DictionaryValue> pref_dict); |
// The store corresponding to this transaction. |
StateStore* store_; |
// A ScopedUserPrefUpdate through which changes to the incidents_sent |
// preference are made. |
- scoped_ptr<DictionaryPrefUpdate> pref_update_; |
+ std::unique_ptr<DictionaryPrefUpdate> pref_update_; |
DISALLOW_COPY_AND_ASSIGN(Transaction); |
}; |