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

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: Fixes build errors 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..2cb1cfc5aad87b68451bab518660ec794b9a2d08 100644
--- a/components/policy/core/browser/configuration_policy_handler_list.h
+++ b/components/policy/core/browser/configuration_policy_handler_list.h
@@ -22,13 +22,18 @@ class PolicyErrorMap;
class PolicyMap;
struct PolicyToPreferenceMapEntry;
class Schema;
+struct PolicyHandlerParameters;
bartfab (slow) 2014/03/14 13:43:45 Nit: Arrange in alphabetic order.
// Converts policies to their corresponding preferences by applying a list of
// ConfigurationPolicyHandler objects. This includes error checking and
// cleaning up policy values for displaying.
class POLICY_EXPORT ConfigurationPolicyHandlerList {
public:
+ typedef base::Callback<void(PolicyHandlerParameters*)>
+ PopulatePolicyHandlerParametersCallback;
+
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_;
bartfab (slow) 2014/03/14 13:43:45 Nit: const
GetChromePolicyDetailsCallback details_callback_;
DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyHandlerList);

Powered by Google App Engine
This is Rietveld 408576698