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

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

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 months 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
« no previous file with comments | « chrome/browser/policy/power_policy_browsertest.cc ('k') | chrome/browser/policy/proxy_policy_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/proxy_policy_provider.h
diff --git a/chrome/browser/policy/proxy_policy_provider.h b/chrome/browser/policy/proxy_policy_provider.h
deleted file mode 100644
index db7b31774d30fc18b99d2511ef8cfcb2f7f6701a..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/proxy_policy_provider.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_POLICY_PROXY_POLICY_PROVIDER_H_
-#define CHROME_BROWSER_POLICY_PROXY_POLICY_PROVIDER_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/policy/configuration_policy_provider.h"
-
-namespace policy {
-
-// A policy provider implementation that acts as a proxy for another policy
-// provider, swappable at any point.
-class ProxyPolicyProvider : public ConfigurationPolicyProvider,
- public ConfigurationPolicyProvider::Observer {
- public:
- ProxyPolicyProvider();
- virtual ~ProxyPolicyProvider();
-
- // Updates the provider this proxy delegates to.
- void SetDelegate(ConfigurationPolicyProvider* delegate);
-
- // ConfigurationPolicyProvider:
- virtual void Shutdown() OVERRIDE;
- virtual void RefreshPolicies() OVERRIDE;
-
- // ConfigurationPolicyProvider::Observer:
- virtual void OnUpdatePolicy(ConfigurationPolicyProvider* provider) OVERRIDE;
-
- private:
- ConfigurationPolicyProvider* delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(ProxyPolicyProvider);
-};
-
-} // namespace policy
-
-#endif // CHROME_BROWSER_POLICY_PROXY_POLICY_PROVIDER_H_
« no previous file with comments | « chrome/browser/policy/power_policy_browsertest.cc ('k') | chrome/browser/policy/proxy_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698