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

Unified Diff: components/autofill/content/browser/risk/fingerprint.h

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/content/browser/risk/fingerprint.h
diff --git a/components/autofill/content/browser/risk/fingerprint.h b/components/autofill/content/browser/risk/fingerprint.h
index 4b38182c147907f06dd506e00a0d5388c2a57eff..ae1b7857a7a39c9ce501ae996eb33b1a4805cc85 100644
--- a/components/autofill/content/browser/risk/fingerprint.h
+++ b/components/autofill/content/browser/risk/fingerprint.h
@@ -14,10 +14,10 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "components/autofill/core/browser/autofill_client.h"
class PrefService;
@@ -57,7 +57,7 @@ void GetFingerprint(
const base::Time& install_time,
const std::string& app_locale,
const std::string& user_agent,
- const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
+ const base::Callback<void(std::unique_ptr<Fingerprint>)>& callback);
} // namespace risk
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698