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

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

Issue 814123006: Revert of Implemented consumer management unenrollment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dcpm
Patch Set: Created 5 years, 11 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/owner_settings_service_chromeos.h
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
index 78217e025bfef27bd09060cab870c3147ef9d949..b214274539a23bb6f4a801b2bdf9e2e34a5c590b 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
@@ -33,8 +33,6 @@
}
namespace chromeos {
-
-class FakeOwnerSettingsService;
// The class is a profile-keyed service which holds public/private
// keypair corresponds to a profile. The keypair is reloaded automatically when
@@ -90,9 +88,8 @@
virtual void OnDeviceSettingsServiceShutdown() override;
// Sets the management related settings.
- virtual void SetManagementSettings(
- const ManagementSettings& settings,
- const OnManagementSettingsSetCallback& callback);
+ void SetManagementSettings(const ManagementSettings& settings,
+ const OnManagementSettingsSetCallback& callback);
// Checks if the user is the device owner, without the user profile having to
// been initialized. Should be used only if login state is in safe mode.
@@ -119,14 +116,13 @@
has_pending_management_settings_;
}
- protected:
+ private:
+ friend class OwnerSettingsServiceChromeOSFactory;
+
OwnerSettingsServiceChromeOS(
DeviceSettingsService* device_settings_service,
Profile* profile,
const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util);
-
- private:
- friend class OwnerSettingsServiceChromeOSFactory;
// OwnerSettingsService protected interface overrides:

Powered by Google App Engine
This is Rietveld 408576698