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

Unified Diff: chrome/browser/autofill/risk_util.cc

Issue 1857663002: chrome/browser/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
« no previous file with comments | « chrome/browser/autofill/risk_util.h ('k') | chrome/browser/autofill/validation_rules_storage_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/risk_util.cc
diff --git a/chrome/browser/autofill/risk_util.cc b/chrome/browser/autofill/risk_util.cc
index 149b11a6f4322e1f1f3042deeb39502be3a3265a..1b775261f1a0804d0c6ca4b418fc777b33e8f6c8 100644
--- a/chrome/browser/autofill/risk_util.cc
+++ b/chrome/browser/autofill/risk_util.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/autofill/risk_util.h"
+#include <memory>
+
#include "base/base64.h"
#include "base/callback.h"
#include "base/time/time.h"
@@ -34,7 +36,7 @@ namespace autofill {
namespace {
void PassRiskData(const base::Callback<void(const std::string&)>& callback,
- scoped_ptr<risk::Fingerprint> fingerprint) {
+ std::unique_ptr<risk::Fingerprint> fingerprint) {
std::string proto_data, risk_data;
fingerprint->SerializeToString(&proto_data);
base::Base64Encode(proto_data, &risk_data);
« no previous file with comments | « chrome/browser/autofill/risk_util.h ('k') | chrome/browser/autofill/validation_rules_storage_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698