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

Unified Diff: chrome/browser/policy/device_local_account_policy_service.h

Issue 11444029: Added UserPolicySigninService::FetchPolicyForSignedInUser(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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/policy/device_local_account_policy_service.h
diff --git a/chrome/browser/policy/device_local_account_policy_service.h b/chrome/browser/policy/device_local_account_policy_service.h
index c81aad244c3158ce0cbcd68dee63bf817b14e7e0..a4ccc1a9a342e7dbbf2ed0e9ecd84831e2df39cb 100644
--- a/chrome/browser/policy/device_local_account_policy_service.h
+++ b/chrome/browser/policy/device_local_account_policy_service.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "chrome/browser/chromeos/settings/device_settings_service.h"
+#include "chrome/browser/policy/cloud_policy_service.h"
#include "chrome/browser/policy/cloud_policy_store.h"
#include "chrome/browser/policy/device_local_account_policy_store.h"
@@ -25,7 +26,6 @@ namespace policy {
class CloudPolicyClient;
class CloudPolicyRefreshScheduler;
-class CloudPolicyService;
class DeviceManagementService;
// This class manages the policy settings for a single device-local account,
@@ -48,7 +48,7 @@ class DeviceLocalAccountPolicyBroker {
const std::string& account_id() const { return account_id_; }
// Refreshes policy (if applicable) and invokes |callback| when done.
- void RefreshPolicy(const base::Closure& callback);
+ void RefreshPolicy(const CloudPolicyService::RefreshPolicyCallback& callback);
// Establish a cloud connection for the service.
void Connect(scoped_ptr<CloudPolicyClient> client);

Powered by Google App Engine
This is Rietveld 408576698