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

Unified Diff: chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc

Issue 2782553004: Move TestingPrefService to use unique_ptr<Value> (Closed)
Patch Set: comments Created 3 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: chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc
diff --git a/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc b/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc
index a61f051038e3110ecbd734ed205d8df21503abc7..356a73e290640591e773433125cae182a20f5b71 100644
--- a/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc
+++ b/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc
@@ -136,8 +136,8 @@ TEST_F(ArcPlayStoreEnabledPreferenceHandlerTest,
TEST_F(ArcPlayStoreEnabledPreferenceHandlerTest, RemoveDataDir_Managed) {
// Set ARC to be managed and disabled.
- profile()->GetTestingPrefService()->SetManagedPref(prefs::kArcEnabled,
- new base::Value(false));
+ profile()->GetTestingPrefService()->SetManagedPref(
+ prefs::kArcEnabled, base::MakeUnique<base::Value>(false));
// Starting session manager with prefs::kArcEnabled off in a managed profile
// does automatically remove Android's data folder.

Powered by Google App Engine
This is Rietveld 408576698