Chromium Code Reviews| Index: chrome/browser/ui/webui/browsing_history_handler.h |
| diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/browsing_history_handler.h |
| similarity index 93% |
| copy from chrome/browser/ui/webui/history_ui.h |
| copy to chrome/browser/ui/webui/browsing_history_handler.h |
| index 3d5dcb226401458f2e132e2605360962c5c6c3c7..6c2f99a0bf17f9481d55fa6c95b907c8e502fdfa 100644 |
| --- a/chrome/browser/ui/webui/history_ui.h |
| +++ b/chrome/browser/ui/webui/browsing_history_handler.h |
| @@ -1,12 +1,13 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// 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_HISTORY_UI_H_ |
| -#define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| +#ifndef CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_ |
| #include <string> |
| +#include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/scoped_observer.h" |
| @@ -15,10 +16,10 @@ |
| #include "base/timer/timer.h" |
| #include "base/values.h" |
| #include "components/history/core/browser/history_service_observer.h" |
| +#include "components/history/core/browser/url_row.h" |
| #include "components/history/core/browser/web_history_service.h" |
| -#include "content/public/browser/web_ui_controller.h" |
| #include "content/public/browser/web_ui_message_handler.h" |
| -#include "ui/base/layout.h" |
| +#include "url/gurl.h" |
| class ProfileSyncService; |
| class SupervisedUserService; |
| @@ -29,6 +30,8 @@ class BookmarkModel; |
| namespace history { |
| class HistoryService; |
| +class QueryResults; |
| +struct QueryOptions; |
|
Dan Beam
2015/11/20 20:13:00
nit: alphabetize by type name
tsergeant
2015/11/22 23:45:18
Done.
|
| } |
| // The handler for Javascript messages related to the "history" view. |
| @@ -217,16 +220,4 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler, |
| DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); |
| }; |
| -class HistoryUI : public content::WebUIController { |
| - public: |
| - explicit HistoryUI(content::WebUI* web_ui); |
| - ~HistoryUI() override; |
| - |
| - static base::RefCountedMemory* GetFaviconResourceBytes( |
| - ui::ScaleFactor scale_factor); |
| - |
| - private: |
| - DISALLOW_COPY_AND_ASSIGN(HistoryUI); |
| -}; |
| - |
| -#endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| +#endif // CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_ |