| Index: chrome/browser/policy/cloud_policy_store.h
|
| diff --git a/chrome/browser/policy/cloud_policy_store.h b/chrome/browser/policy/cloud_policy_store.h
|
| index 224fcea80c63759179c71d58830874b88f703dbf..080e50e1d9b67bf8bd72384f555bccdd6c67154e 100644
|
| --- a/chrome/browser/policy/cloud_policy_store.h
|
| +++ b/chrome/browser/policy/cloud_policy_store.h
|
| @@ -12,6 +12,8 @@
|
| #include "chrome/browser/policy/policy_map.h"
|
| #include "chrome/browser/policy/proto/device_management_backend.pb.h"
|
|
|
| +class Profile;
|
| +
|
| namespace policy {
|
|
|
| // Defines the low-level interface used by the cloud policy code to:
|
| @@ -91,6 +93,12 @@ class CloudPolicyStore {
|
| // Removes the specified observer.
|
| void RemoveObserver(Observer* observer);
|
|
|
| + // Factory method to create a CloudPolicyStore appropriate for the current
|
| + // platform, for storing user policy for the user associated with the passed
|
| + // |profile|. Implementation is defined in the individual platform store
|
| + // files.
|
| + static scoped_ptr<CloudPolicyStore> CreateUserPolicyStore(Profile* profile);
|
| +
|
| protected:
|
| // Invokes the corresponding callback on all registered observers.
|
| void NotifyStoreLoaded();
|
|
|