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

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

Issue 7972013: ConfigurationPolicyPrefStore refactoring to surface error messages. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 9 years, 3 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/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index 1325493fcf0c22d2561d6d446bc8bdf2e982cf3e..d7f1606d4b456cb0d9418f0a38cf0d7e8bbfd291 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -13,6 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/policy/cloud_policy_data_store.h"
+#include "chrome/browser/policy/configuration_policy_handler_list.h"
#include "chrome/browser/policy/enterprise_install_attributes.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
@@ -111,6 +112,8 @@ class BrowserPolicyConnector : public NotificationObserver {
const CloudPolicyDataStore* GetDeviceCloudPolicyDataStore() const;
const CloudPolicyDataStore* GetUserCloudPolicyDataStore() const;
+ const HandlerList* GetConfigurationPolicyHandlerList() const;
+
private:
friend class ::TestingBrowserProcess;
@@ -171,6 +174,10 @@ class BrowserPolicyConnector : public NotificationObserver {
// policy authentication tokens.
TokenService* token_service_;
+ // List of all available handlers derived from the
+ // ConfigurationPolicyHandlerInterface.
+ HandlerList policy_handlers_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
};

Powered by Google App Engine
This is Rietveld 408576698