| Index: chrome/browser/ui/webui/popular_sites_internals_message_handler.h
|
| diff --git a/chrome/browser/ui/webui/popular_sites_internals_message_handler.h b/chrome/browser/ui/webui/popular_sites_internals_message_handler.h
|
| deleted file mode 100644
|
| index 700de05e6b5e2a5d568ca270b5e99ceeb7118dd9..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/webui/popular_sites_internals_message_handler.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// Copyright 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_POPULAR_SITES_INTERNALS_MESSAGE_HANDLER_H_
|
| -#define CHROME_BROWSER_UI_WEBUI_POPULAR_SITES_INTERNALS_MESSAGE_HANDLER_H_
|
| -
|
| -#include <memory>
|
| -#include <string>
|
| -
|
| -#include "base/macros.h"
|
| -#include "base/memory/weak_ptr.h"
|
| -#include "content/public/browser/web_ui_message_handler.h"
|
| -
|
| -namespace base {
|
| -class ListValue;
|
| -} // namespace base
|
| -
|
| -namespace ntp_tiles {
|
| -class PopularSites;
|
| -} // namespace ntp_tiles
|
| -
|
| -// The implementation for the chrome://popular-sites-internals page.
|
| -class PopularSitesInternalsMessageHandler
|
| - : public content::WebUIMessageHandler {
|
| - public:
|
| - PopularSitesInternalsMessageHandler();
|
| - ~PopularSitesInternalsMessageHandler() override;
|
| -
|
| - private:
|
| - // content::WebUIMessageHandler:
|
| - void RegisterMessages() override;
|
| -
|
| - void HandleRegisterForEvents(const base::ListValue* args);
|
| - void HandleUpdate(const base::ListValue* args);
|
| - void HandleViewJson(const base::ListValue* args);
|
| -
|
| - void SendOverrides();
|
| - void SendDownloadResult(bool success);
|
| - void SendSites();
|
| - void SendJson(const std::string& json);
|
| -
|
| - void OnPopularSitesAvailable(bool explicit_request, bool success);
|
| -
|
| - std::unique_ptr<ntp_tiles::PopularSites> popular_sites_;
|
| -
|
| - base::WeakPtrFactory<PopularSitesInternalsMessageHandler> weak_ptr_factory_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PopularSitesInternalsMessageHandler);
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_UI_WEBUI_POPULAR_SITES_INTERNALS_MESSAGE_HANDLER_H_
|
|
|