| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_ |
| 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_MANAGER_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/prefs/public/pref_member.h" | 12 #include "base/prefs/public/pref_member.h" |
| 13 #include "chrome/browser/policy/cloud_policy_constants.h" | 13 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
| 14 #include "chrome/browser/policy/cloud_policy_core.h" | 14 #include "chrome/browser/policy/cloud/cloud_policy_core.h" |
| 15 #include "chrome/browser/policy/cloud_policy_store.h" | 15 #include "chrome/browser/policy/cloud/cloud_policy_store.h" |
| 16 #include "chrome/browser/policy/configuration_policy_provider.h" | 16 #include "chrome/browser/policy/configuration_policy_provider.h" |
| 17 | 17 |
| 18 namespace policy { | 18 namespace policy { |
| 19 | 19 |
| 20 // CloudPolicyManager is the main switching central between cloud policy and the | 20 // CloudPolicyManager is the main switching central between cloud policy and the |
| 21 // upper layers of the policy stack. It wires up a CloudPolicyCore to the | 21 // upper layers of the policy stack. It wires up a CloudPolicyCore to the |
| 22 // ConfigurationPolicyProvider interface. | 22 // ConfigurationPolicyProvider interface. |
| 23 // | 23 // |
| 24 // This class contains the base functionality, there are subclasses that add | 24 // This class contains the base functionality, there are subclasses that add |
| 25 // functionality specific to user-level and device-level cloud policy, such as | 25 // functionality specific to user-level and device-level cloud policy, such as |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // Whether there's a policy refresh operation pending, in which case all | 65 // Whether there's a policy refresh operation pending, in which case all |
| 66 // policy update notifications are deferred until after it completes. | 66 // policy update notifications are deferred until after it completes. |
| 67 bool waiting_for_policy_refresh_; | 67 bool waiting_for_policy_refresh_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(CloudPolicyManager); | 69 DISALLOW_COPY_AND_ASSIGN(CloudPolicyManager); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace policy | 72 } // namespace policy |
| 73 | 73 |
| 74 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_MANAGER_H_ | 74 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_MANAGER_H_ |
| OLD | NEW |