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

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

Issue 8139029: Make policy errors available to display in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unused replacement string DCHECK from policy_error_map.cc Created 9 years, 2 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4f63910e51593d614ee392af5fbbec4ecf01e499..0100ae1d61b52050964f06bce157ab26f5c0c16d 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -12,6 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/policy/cloud_policy_data_store.h"
+#include "chrome/browser/policy/configuration_policy_handler.h"
#include "chrome/browser/policy/enterprise_install_attributes.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -108,6 +109,9 @@ class BrowserPolicyConnector : public content::NotificationObserver {
const CloudPolicyDataStore* GetDeviceCloudPolicyDataStore() const;
const CloudPolicyDataStore* GetUserCloudPolicyDataStore() const;
+ const ConfigurationPolicyHandler::HandlerList*
+ GetConfigurationPolicyHandlerList() const;
+
private:
friend class ::TestingBrowserProcess;
@@ -170,6 +174,9 @@ class BrowserPolicyConnector : public content::NotificationObserver {
// policy authentication tokens.
TokenService* token_service_;
+ // List of all available handlers derived from ConfigurationPolicyHandler.
+ scoped_ptr<ConfigurationPolicyHandler::HandlerList> policy_handlers_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
};
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698