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

Unified Diff: extensions/shell/browser/shell_prefs_unittest.cc

Issue 1908953003: Convert //extensions/{common,shell} 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
« no previous file with comments | « extensions/shell/browser/shell_prefs.cc ('k') | extensions/shell/browser/shell_screen_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_prefs_unittest.cc
diff --git a/extensions/shell/browser/shell_prefs_unittest.cc b/extensions/shell/browser/shell_prefs_unittest.cc
index 3f91f171a5042bdc6b3c547d4e442a2ee8a8f8cd..a2fbe3a1d0f39891605dae0fe0304ced605af485 100644
--- a/extensions/shell/browser/shell_prefs_unittest.cc
+++ b/extensions/shell/browser/shell_prefs_unittest.cc
@@ -45,7 +45,7 @@ class ShellPrefsTest : public testing::Test {
};
TEST_F(ShellPrefsTest, CreateLocalState) {
- scoped_ptr<PrefService> local_state =
+ std::unique_ptr<PrefService> local_state =
shell_prefs::CreateLocalState(browser_context_.GetPath());
ASSERT_TRUE(local_state);
@@ -60,7 +60,7 @@ TEST_F(ShellPrefsTest, CreateLocalState) {
TEST_F(ShellPrefsTest, CreateUserPrefService) {
// Create the pref service. This loads the test pref file.
- scoped_ptr<PrefService> service =
+ std::unique_ptr<PrefService> service =
shell_prefs::CreateUserPrefService(&browser_context_);
// Some basic extension preferences are registered.
« no previous file with comments | « extensions/shell/browser/shell_prefs.cc ('k') | extensions/shell/browser/shell_screen_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698