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

Unified Diff: chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc

Issue 1019283004: Switch to direct use of OwnerSettingsServiceChromeOS::Set() in tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/policy/consumer_unenrollment_handler_unittest.cc
diff --git a/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc b/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
index cacf39604d8b261a5425e82c7f1767e091b7fb2c..1a9ba8be603db162208022ac6874c55d718d0fe9 100644
--- a/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
+++ b/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
@@ -59,9 +59,8 @@ class ConsumerUnenrollmentHandlerTest
base::ThreadTaskRunnerHandle::Get()));
// Set up FakeOwnerSettingsService.
- fake_owner_settings_service_.reset(
- new chromeos::FakeOwnerSettingsService(
- profile_.get(), owner_key_util_));
+ fake_owner_settings_service_.reset(new chromeos::FakeOwnerSettingsService(
+ profile_.get(), owner_key_util_, nullptr));
chromeos::OwnerSettingsServiceChromeOS::ManagementSettings settings;
settings.management_mode = policy::MANAGEMENT_MODE_CONSUMER_MANAGED;
settings.request_token = "fake_request_token";

Powered by Google App Engine
This is Rietveld 408576698