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

Unified Diff: components/autofill/core/browser/autofill_external_delegate_unittest.cc

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/core/browser/autofill_external_delegate_unittest.cc
diff --git a/components/autofill/core/browser/autofill_external_delegate_unittest.cc b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
index 9e5485c7b37f7ac6b4af529c7771c52ce6c6cd9d..0349cb5fea5ed2b2e2e2751f192b5021794e775e 100644
--- a/components/autofill/core/browser/autofill_external_delegate_unittest.cc
+++ b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
#include <vector>
#include "base/command_line.h"
@@ -147,9 +148,9 @@ class AutofillExternalDelegateUnitTest : public testing::Test {
}
testing::NiceMock<MockAutofillClient> autofill_client_;
- scoped_ptr<testing::NiceMock<MockAutofillDriver>> autofill_driver_;
- scoped_ptr<MockAutofillManager> autofill_manager_;
- scoped_ptr<AutofillExternalDelegate> external_delegate_;
+ std::unique_ptr<testing::NiceMock<MockAutofillDriver>> autofill_driver_;
+ std::unique_ptr<MockAutofillManager> autofill_manager_;
+ std::unique_ptr<AutofillExternalDelegate> external_delegate_;
base::MessageLoop message_loop_;
};

Powered by Google App Engine
This is Rietveld 408576698