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

Unified Diff: chrome/browser/ui/android/autofill/autofill_dialog_result.h

Issue 1865213004: Convert //chrome/browser/ui 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
Index: chrome/browser/ui/android/autofill/autofill_dialog_result.h
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_result.h b/chrome/browser/ui/android/autofill/autofill_dialog_result.h
index b0420e4c467f2cdf9a337f17999c8bd5d2418da9..c90336be8bf6f04280a0777b440c853e70cfa986 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_result.h
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_result.h
@@ -6,10 +6,11 @@
#define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_
#include <jni.h>
+
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
namespace autofill {
@@ -27,8 +28,8 @@ class AutofillDialogResult {
// Converts the requested information to wallet::FullWallet.
// The dialog stores the requested information in the same format
// regardless if the information was obtained from Autofill or Google Wallet.
- static scoped_ptr<wallet::FullWallet> ConvertFromJava(
- JNIEnv* env, jobject wallet);
+ static std::unique_ptr<wallet::FullWallet> ConvertFromJava(JNIEnv* env,
+ jobject wallet);
// Returns the email address to be associated with this request,
// or an empty string.

Powered by Google App Engine
This is Rietveld 408576698