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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_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/policy/device_cloud_policy_manager_chromeos.h
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
index 9581dce3a6d676769a7e2bb533411b5b8a939633..8e0e5cd9a338952f9b002c0e9fd7ca36274984a8 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/callback_forward.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -43,11 +42,7 @@
public:
// Invoked when the device cloud policy manager connects.
virtual void OnDeviceCloudPolicyManagerConnected() = 0;
- // Invoked when the device cloud policy manager disconnects.
- virtual void OnDeviceCloudPolicyManagerDisconnected() = 0;
};
-
- using UnregisterCallback = base::Callback<void(bool)>;
// |task_runner| is the runner for policy refresh tasks.
DeviceCloudPolicyManagerChromeOS(
@@ -91,13 +86,6 @@
void StartConnection(scoped_ptr<CloudPolicyClient> client_to_connect,
EnterpriseInstallAttributes* install_attributes);
- // Sends the unregister request. |callback| is invoked with a boolean
- // parameter indicating the result when done.
- virtual void Unregister(const UnregisterCallback& callback);
-
- // Disconnects the manager.
- virtual void Disconnect();
-
DeviceCloudPolicyStoreChromeOS* device_store() {
return device_store_.get();
}
@@ -110,7 +98,6 @@
void InitializeRequisition();
void NotifyConnected();
- void NotifyDisconnected();
// Points to the same object as the base CloudPolicyManager::store(), but with
// actual device policy specific type.

Powered by Google App Engine
This is Rietveld 408576698