| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/browser/policy/cloud_policy_subsystem.h" | |
| 16 #include "chrome/browser/policy/policy_map.h" | 15 #include "chrome/browser/policy/policy_map.h" |
| 17 #include "chrome/browser/policy/policy_service.h" | 16 #include "chrome/browser/policy/policy_service.h" |
| 18 #include "content/public/browser/web_ui_controller.h" | 17 #include "content/public/browser/web_ui_controller.h" |
| 19 #include "content/public/browser/web_ui_message_handler.h" | 18 #include "content/public/browser/web_ui_message_handler.h" |
| 20 #include "policy/policy_constants.h" | 19 #include "policy/policy_constants.h" |
| 21 | 20 |
| 22 class CloudPolicyStatusProvider; | 21 class CloudPolicyStatusProvider; |
| 23 | 22 |
| 24 // The base class handler of Javascript messages of the about:policy page. | 23 // The base class handler of Javascript messages of the about:policy page. |
| 25 class PolicyUIHandler : public content::WebUIMessageHandler, | 24 class PolicyUIHandler : public content::WebUIMessageHandler, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 class PolicyUI : public content::WebUIController { | 92 class PolicyUI : public content::WebUIController { |
| 94 public: | 93 public: |
| 95 explicit PolicyUI(content::WebUI* web_ui); | 94 explicit PolicyUI(content::WebUI* web_ui); |
| 96 virtual ~PolicyUI(); | 95 virtual ~PolicyUI(); |
| 97 | 96 |
| 98 private: | 97 private: |
| 99 DISALLOW_COPY_AND_ASSIGN(PolicyUI); | 98 DISALLOW_COPY_AND_ASSIGN(PolicyUI); |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ | 101 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ |
| OLD | NEW |