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

Unified Diff: chrome/browser/chromeos/status/data_promo_notification_unittest.cc

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/status/data_promo_notification_unittest.cc
diff --git a/chrome/browser/chromeos/status/data_promo_notification_unittest.cc b/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
index 29e866cb2cd4d5bbb6bcbbd36d215d450ec1bb7b..96fdffb02c0f8b1db48b154c120f37ec165e7b6c 100644
--- a/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
+++ b/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
@@ -86,7 +86,8 @@ class DataPromoNotificationTest : public testing::Test {
protected:
void SetupUser() {
- scoped_ptr<FakeChromeUserManager> user_manager(new FakeChromeUserManager());
+ std::unique_ptr<FakeChromeUserManager> user_manager(
+ new FakeChromeUserManager());
const AccountId test_account_id(AccountId::FromUserEmail(kTestUserName));
user_manager->AddUser(test_account_id);
user_manager->LoginUser(test_account_id);
@@ -134,10 +135,10 @@ class DataPromoNotificationTest : public testing::Test {
base::FundamentalValue(true));
}
- scoped_ptr<DataPromoNotification> data_promo_notification_;
- scoped_ptr<NetworkConnectTestDelegate> network_connect_delegate_;
- scoped_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
- scoped_ptr<TestingProfileManager> profile_manager_;
+ std::unique_ptr<DataPromoNotification> data_promo_notification_;
+ std::unique_ptr<NetworkConnectTestDelegate> network_connect_delegate_;
+ std::unique_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
+ std::unique_ptr<TestingProfileManager> profile_manager_;
base::MessageLoop message_loop_;
private:
« no previous file with comments | « chrome/browser/chromeos/shutdown_policy_browsertest.cc ('k') | chrome/browser/chromeos/status/network_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698