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

Unified Diff: chrome/browser/chromeos/ownership/fake_owner_settings_service.h

Issue 1019283004: Switch to direct use of OwnerSettingsServiceChromeOS::Set() in tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 5 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/ownership/fake_owner_settings_service.h
diff --git a/chrome/browser/chromeos/ownership/fake_owner_settings_service.h b/chrome/browser/chromeos/ownership/fake_owner_settings_service.h
index bed4d066792373a170db9a4dadaa7a41f08ccfaf..50d097a48f6359d2d83bce09dd926896a8c6ccb5 100644
--- a/chrome/browser/chromeos/ownership/fake_owner_settings_service.h
+++ b/chrome/browser/chromeos/ownership/fake_owner_settings_service.h
@@ -19,6 +19,7 @@ namespace chromeos {
class FakeOwnerSettingsService : public OwnerSettingsServiceChromeOS {
public:
+ explicit FakeOwnerSettingsService(Profile* profile);
FakeOwnerSettingsService(
Profile* profile,
const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util);
@@ -36,6 +37,7 @@ class FakeOwnerSettingsService : public OwnerSettingsServiceChromeOS {
void SetManagementSettings(
const ManagementSettings& settings,
const OnManagementSettingsSetCallback& callback) override;
+ bool Set(const std::string& setting, const base::Value& value) override;
private:
bool set_management_settings_result_;

Powered by Google App Engine
This is Rietveld 408576698