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

Side by Side Diff: chrome/browser/policy/forwarding_policy_provider.h

Issue 99333002: Revert of Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FORWARDING_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/policy/core/common/configuration_policy_provider.h" 10 #include "chrome/browser/policy/configuration_policy_provider.h"
11 #include "components/policy/core/common/policy_namespace.h" 11 #include "components/policy/core/common/policy_namespace.h"
12 12
13 namespace policy { 13 namespace policy {
14 14
15 // A policy provider that forwards calls to another provider. 15 // A policy provider that forwards calls to another provider.
16 // This provider also tracks the SchemaRegistry, and becomes ready after making 16 // This provider also tracks the SchemaRegistry, and becomes ready after making
17 // sure the delegate provider has refreshed its policies with an updated view 17 // sure the delegate provider has refreshed its policies with an updated view
18 // of the complete schema. It is expected that the delegate's SchemaRegistry 18 // of the complete schema. It is expected that the delegate's SchemaRegistry
19 // is a CombinedSchemaRegistry tracking the forwarding provider's registry. 19 // is a CombinedSchemaRegistry tracking the forwarding provider's registry.
20 class ForwardingPolicyProvider : public ConfigurationPolicyProvider, 20 class ForwardingPolicyProvider : public ConfigurationPolicyProvider,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 ConfigurationPolicyProvider* delegate_; 60 ConfigurationPolicyProvider* delegate_;
61 InitializationState state_; 61 InitializationState state_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ForwardingPolicyProvider); 63 DISALLOW_COPY_AND_ASSIGN(ForwardingPolicyProvider);
64 }; 64 };
65 65
66 } // namespace policy 66 } // namespace policy
67 67
68 #endif // CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_ 68 #endif // CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698