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

Unified Diff: ios/chrome/browser/passwords/credential_manager.h

Issue 1861593005: Convert //ios 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: ios/chrome/browser/passwords/credential_manager.h
diff --git a/ios/chrome/browser/passwords/credential_manager.h b/ios/chrome/browser/passwords/credential_manager.h
index 01c2e839f91dc3e125d376e9047d49ad1e4b0307..da6c4d6e9bcca061ac61dc91a987822dc902cebe 100644
--- a/ios/chrome/browser/passwords/credential_manager.h
+++ b/ios/chrome/browser/passwords/credential_manager.h
@@ -5,12 +5,12 @@
#ifndef IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_
#define IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_
+#include <memory>
#include <string>
#include <vector>
#import "base/mac/scoped_nsobject.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/password_manager/core/browser/credential_manager_password_form_manager.h"
#include "components/password_manager/core/browser/credential_manager_pending_request_task.h"
@@ -100,15 +100,16 @@ class CredentialManager
bool GetUrlWithAbsoluteTrust(GURL* page_url);
// The request to retrieve credentials from the PasswordStore.
- scoped_ptr<password_manager::CredentialManagerPendingRequestTask>
+ std::unique_ptr<password_manager::CredentialManagerPendingRequestTask>
pending_request_;
// The task to notify the password manager that the user was signed out.
- scoped_ptr<password_manager::CredentialManagerPendingRequireUserMediationTask>
+ std::unique_ptr<
+ password_manager::CredentialManagerPendingRequireUserMediationTask>
pending_require_user_mediation_;
// Saves credentials to the PasswordStore.
- scoped_ptr<password_manager::CredentialManagerPasswordFormManager>
+ std::unique_ptr<password_manager::CredentialManagerPasswordFormManager>
form_manager_;
// Injected JavaScript to provide the API to web pages.

Powered by Google App Engine
This is Rietveld 408576698