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

Unified Diff: components/safe_browsing/web_ui/safe_browsing_ui.h

Issue 2940963002: Added the chrome://safe-browsing/ page as part of the chrome://about (Closed)
Patch Set: Changed the overall location of several files to base them on components/ Created 3 years, 6 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/safe_browsing/web_ui/safe_browsing_ui.h
diff --git a/components/safe_browsing/web_ui/safe_browsing_ui.h b/components/safe_browsing/web_ui/safe_browsing_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..440fae2a086cd6e92c9b1d51ff785f38d11cc613
--- /dev/null
+++ b/components/safe_browsing/web_ui/safe_browsing_ui.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2017 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_SAFE_BROWSING_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_SAFE_BROWSING_UI_H_
+
+#include "base/macros.h"
+#include "content/public/browser/url_data_source.h"
+#include "content/public/browser/web_ui_controller.h"
+
+// The WebUI for chrome://safe-browsing
+class SafeBrowsingUI : public content::WebUIController {
+ public:
+ explicit SafeBrowsingUI(content::WebUI* web_ui);
+ ~SafeBrowsingUI() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_SAFE_BROWSING_UI_H_

Powered by Google App Engine
This is Rietveld 408576698