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

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

Issue 10384145: Removed ConfigurationPolicyProvider::Provide(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 8 years, 7 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
Index: chrome/browser/policy/asynchronous_policy_provider.h
diff --git a/chrome/browser/policy/asynchronous_policy_provider.h b/chrome/browser/policy/asynchronous_policy_provider.h
index 26e85e8ab2eba1f2ac2db4b2fb2c276182327581..000b8a66a0e4a152bd4b3ebb6350ce852c1bbf8b 100644
--- a/chrome/browser/policy/asynchronous_policy_provider.h
+++ b/chrome/browser/policy/asynchronous_policy_provider.h
@@ -16,7 +16,6 @@ namespace policy {
class AsynchronousPolicyLoader;
class PolicyBundle;
-class PolicyMap;
// Policy provider that loads policy asynchronously. Providers should subclass
// from this class if loading the policy requires disk access or must for some
@@ -32,9 +31,8 @@ class AsynchronousPolicyProvider
public:
virtual ~Delegate() {}
- // Load policy from the delegate's source, and return a PolicyMap. Ownership
- // is transferred to the caller.
- virtual PolicyMap* Load() = 0;
+ // Load policy from the delegate's source, and return a PolicyBundle.
+ virtual scoped_ptr<PolicyBundle> Load() = 0;
};
// Assumes ownership of |loader|.

Powered by Google App Engine
This is Rietveld 408576698