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

Side by Side Diff: chrome/browser/chromeos/policy/proxy_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 (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_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/policy/core/common/configuration_policy_provider.h" 10 #include "chrome/browser/policy/configuration_policy_provider.h"
11 11
12 namespace policy { 12 namespace policy {
13 13
14 // A policy provider implementation that acts as a proxy for another policy 14 // A policy provider implementation that acts as a proxy for another policy
15 // provider, swappable at any point. 15 // provider, swappable at any point.
16 class ProxyPolicyProvider : public ConfigurationPolicyProvider, 16 class ProxyPolicyProvider : public ConfigurationPolicyProvider,
17 public ConfigurationPolicyProvider::Observer { 17 public ConfigurationPolicyProvider::Observer {
18 public: 18 public:
19 ProxyPolicyProvider(); 19 ProxyPolicyProvider();
20 virtual ~ProxyPolicyProvider(); 20 virtual ~ProxyPolicyProvider();
(...skipping 10 matching lines...) Expand all
31 31
32 private: 32 private:
33 ConfigurationPolicyProvider* delegate_; 33 ConfigurationPolicyProvider* delegate_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyProvider); 35 DISALLOW_COPY_AND_ASSIGN(ProxyPolicyProvider);
36 }; 36 };
37 37
38 } // namespace policy 38 } // namespace policy
39 39
40 #endif // CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698