| 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
|
| index 440fae2a086cd6e92c9b1d51ff785f38d11cc613..816c234ca7f8e2f86f58c74992c4f7c4dba2ba83 100644
|
| --- a/components/safe_browsing/web_ui/safe_browsing_ui.h
|
| +++ b/components/safe_browsing/web_ui/safe_browsing_ui.h
|
| @@ -1,13 +1,32 @@
|
| -// Copyright (c) 2017 The Chromium Authors. All rights reserved.
|
| +// Copyright 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_
|
| +#ifndef COMPONENTS_SAFE_BROWSING_WEBUI_SAFE_BROWSING_UI_H_
|
| +#define COMPONENTS_SAFE_BROWSING_WEBUI_SAFE_BROWSING_UI_H_
|
|
|
| +#include "base/bind.h"
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| +#include "base/values.h"
|
| #include "content/public/browser/url_data_source.h"
|
| +#include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_ui.h"
|
| #include "content/public/browser/web_ui_controller.h"
|
| +#include "content/public/browser/web_ui_data_source.h"
|
| +#include "content/public/browser/web_ui_message_handler.h"
|
| +
|
| +namespace safe_browsing {
|
| +class SafeBrowsingUIHandler : public content::WebUIMessageHandler {
|
| + public:
|
| + SafeBrowsingUIHandler();
|
| + ~SafeBrowsingUIHandler() override;
|
| + void ExpParamList(const base::ListValue* args);
|
| + void RegisterMessages() override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIHandler);
|
| +};
|
|
|
| // The WebUI for chrome://safe-browsing
|
| class SafeBrowsingUI : public content::WebUIController {
|
| @@ -18,5 +37,6 @@ class SafeBrowsingUI : public content::WebUIController {
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUI);
|
| };
|
| +} // namespace safe_browsing
|
|
|
| -#endif // CHROME_BROWSER_UI_WEBUI_SAFE_BROWSING_UI_H_
|
| +#endif // COMPONENTS_SAFE_BROWSING_WEBUI_SAFE_BROWSING_UI_H_
|
|
|