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

Unified Diff: chrome/browser/ui/webui/policy_material_design_ui.h

Issue 1395073002: Policy Ui sends correct translations for risk tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Description corrected. Created 5 years, 1 month 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/ui/webui/policy_material_design_ui.h
diff --git a/chrome/browser/ui/webui/policy_ui.h b/chrome/browser/ui/webui/policy_material_design_ui.h
similarity index 50%
copy from chrome/browser/ui/webui/policy_ui.h
copy to chrome/browser/ui/webui/policy_material_design_ui.h
index 4caf66650dbd301e741eaff1a3338ca90a1cbca7..ecf7eb1a6780a13e41b3cce01c6e856e1a61da84 100644
--- a/chrome/browser/ui/webui/policy_ui.h
+++ b/chrome/browser/ui/webui/policy_material_design_ui.h
@@ -1,29 +1,17 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_
+#ifndef CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_
-#include <string>
-
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"
namespace content {
class WebUI;
}
-// The Web UI controller for the chrome://policy page.
-class PolicyUI : public content::WebUIController {
- public:
- explicit PolicyUI(content::WebUI* web_ui);
- ~PolicyUI() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(PolicyUI);
-};
-
// The Web UI controller for the chrome://md-policy page.
class PolicyMaterialDesignUI : public content::WebUIController {
public:
@@ -34,4 +22,4 @@ class PolicyMaterialDesignUI : public content::WebUIController {
DISALLOW_COPY_AND_ASSIGN(PolicyMaterialDesignUI);
};
-#endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_
+#endif // CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/policy_material_design_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698