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

Unified Diff: chrome/browser/chromeos/profiles/profile_list_chromeos_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/profiles/profile_list_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc b/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
index d1734306ac340cfdd81b3cdbce1c8a4a178ac6da..676d9c3535e46b4420e424decce3462d406c3e90 100644
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
#include <string>
#include "ash/ash_switches.h"
#include "base/command_line.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h"
@@ -112,9 +112,9 @@ class ProfileListChromeOSTest : public testing::Test {
private:
content::TestBrowserThreadBundle thread_bundle_;
TestingProfileManager manager_;
- scoped_ptr<MockObserver> mock_observer_;
- scoped_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
- scoped_ptr<AvatarMenu> avatar_menu_;
+ std::unique_ptr<MockObserver> mock_observer_;
+ std::unique_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
+ std::unique_ptr<AvatarMenu> avatar_menu_;
ChromeShellDelegate chrome_shell_delegate_;
DISALLOW_COPY_AND_ASSIGN(ProfileListChromeOSTest);
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_list_chromeos.cc ('k') | chrome/browser/chromeos/proxy_config_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698