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

Unified Diff: components/policy/core/browser/configuration_policy_handler_list.h

Issue 197013007: Set drive as the default download folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version 1 Created 6 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
Index: components/policy/core/browser/configuration_policy_handler_list.h
diff --git a/components/policy/core/browser/configuration_policy_handler_list.h b/components/policy/core/browser/configuration_policy_handler_list.h
index f686d6870b4aafcde803d0c91dca8b9d388f3742..c06a8286891638cf3e47b5e79f62c1d4ff3f06a3 100644
--- a/components/policy/core/browser/configuration_policy_handler_list.h
+++ b/components/policy/core/browser/configuration_policy_handler_list.h
@@ -22,6 +22,10 @@ class PolicyErrorMap;
class PolicyMap;
struct PolicyToPreferenceMapEntry;
class Schema;
+struct PolicyHandlerParameters;
+
+typedef base::Callback<void(PolicyHandlerParameters*)>
bartfab (slow) 2014/03/13 13:20:00 Nit: Move the definitions inside ConfigurationPoli
+ PopulatePolicyHandlerParametersCallback;
// Converts policies to their corresponding preferences by applying a list of
// ConfigurationPolicyHandler objects. This includes error checking and
@@ -29,6 +33,7 @@ class Schema;
class POLICY_EXPORT ConfigurationPolicyHandlerList {
public:
explicit ConfigurationPolicyHandlerList(
+ const PopulatePolicyHandlerParametersCallback& parameters_callback,
const GetChromePolicyDetailsCallback& details_callback);
~ConfigurationPolicyHandlerList();
@@ -47,6 +52,7 @@ class POLICY_EXPORT ConfigurationPolicyHandlerList {
private:
std::vector<ConfigurationPolicyHandler*> handlers_;
+ PopulatePolicyHandlerParametersCallback parameters_callback_;
GetChromePolicyDetailsCallback details_callback_;
DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyHandlerList);

Powered by Google App Engine
This is Rietveld 408576698