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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/platform_state_store.h

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments 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
Index: chrome/browser/safe_browsing/incident_reporting/platform_state_store.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h b/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h
index 1662ba815e1fc784f3452aef79ed2be9301c6c22..67a2b5349a27932fee41aa2960b724145962270c 100644
--- a/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h
+++ b/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h
@@ -9,9 +9,10 @@
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_PLATFORM_STATE_STORE_H_
#include <stdint.h>
+
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
// Certain platforms provide their own storage of protobuf-serialized prune
@@ -33,7 +34,7 @@ namespace platform_state_store {
// Loads the platform-specific storage for |profile|. Returns null if there is
// no such storage for the current platform or in case of error; otherwise, a
// (possibly empty) dictionary.
-scoped_ptr<base::DictionaryValue> Load(Profile* profile);
+std::unique_ptr<base::DictionaryValue> Load(Profile* profile);
// Stores the state for |profile| in |incidents_sent| into platform-specific
// storage if there is such for the current platform.

Powered by Google App Engine
This is Rietveld 408576698