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

Unified Diff: components/password_manager/core/browser/password_manager_test_utils.h

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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/password_manager/core/browser/password_manager_test_utils.h
diff --git a/components/password_manager/core/browser/password_manager_test_utils.h b/components/password_manager/core/browser/password_manager_test_utils.h
index fe16f8c24ad5d6d2e858568f6a2ddebf2afa08b6..9a75e12f62e5bde6def0fa8cc52400df4ca0c468 100644
--- a/components/password_manager/core/browser/password_manager_test_utils.h
+++ b/components/password_manager/core/browser/password_manager_test_utils.h
@@ -57,7 +57,7 @@ struct PasswordFormData {
};
// Creates and returns a new PasswordForm built from form_data.
-scoped_ptr<autofill::PasswordForm> CreatePasswordFormFromDataForTesting(
+std::unique_ptr<autofill::PasswordForm> CreatePasswordFormFromDataForTesting(
const PasswordFormData& form_data);
// Checks whether the PasswordForms pointed to in |actual_values| are in some
@@ -79,7 +79,7 @@ MATCHER_P(UnorderedPasswordFormElementsAre, expectations, "") {
// |feature_list|.
void SetFeatures(const std::vector<const base::Feature*>& enable_features,
const std::vector<const base::Feature*>& disable_features,
- scoped_ptr<base::FeatureList> feature_list);
+ std::unique_ptr<base::FeatureList> feature_list);
class MockPasswordStoreObserver : public PasswordStore::Observer {
public:

Powered by Google App Engine
This is Rietveld 408576698