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

Unified Diff: chrome/browser/policy/asynchronous_policy_loader.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
« no previous file with comments | « no previous file | chrome/browser/policy/asynchronous_policy_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/asynchronous_policy_loader.h
diff --git a/chrome/browser/policy/asynchronous_policy_loader.h b/chrome/browser/policy/asynchronous_policy_loader.h
index 19fa919818bbf302d89d93d99f82740a82f41f91..ee62cdc63d932fb6beaa28de618bb8260f40e805 100644
--- a/chrome/browser/policy/asynchronous_policy_loader.h
+++ b/chrome/browser/policy/asynchronous_policy_loader.h
@@ -18,7 +18,6 @@ class MessageLoop;
namespace policy {
class PolicyBundle;
-class PolicyMap;
// Used by the implementation of asynchronous policy provider to manage the
// tasks on the FILE thread that do the heavy lifting of loading policies.
@@ -51,9 +50,8 @@ class AsynchronousPolicyLoader
friend class base::RefCountedThreadSafe<AsynchronousPolicyLoader>;
virtual ~AsynchronousPolicyLoader();
- // Schedules a call to UpdatePolicy on |origin_loop_|. Takes ownership of
- // |new_policy|.
- void PostUpdatePolicyTask(PolicyMap* new_policy);
+ // Schedules a call to UpdatePolicy on |origin_loop_|.
+ void PostUpdatePolicyTask(scoped_ptr<PolicyBundle> bundle);
AsynchronousPolicyProvider::Delegate* delegate() {
return delegate_.get();
@@ -88,7 +86,7 @@ class AsynchronousPolicyLoader
// Invokes the |update_callback_| with a new PolicyBundle that maps
// the chrome namespace to |policy|. Must be called on |origin_loop_| so that
// it's safe to invoke |update_callback_|.
- void UpdatePolicy(scoped_ptr<PolicyMap> policy);
+ void UpdatePolicy(scoped_ptr<PolicyBundle> policy);
// Provides the low-level mechanics for loading policy.
scoped_ptr<AsynchronousPolicyProvider::Delegate> delegate_;
« no previous file with comments | « no previous file | chrome/browser/policy/asynchronous_policy_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698