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

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

Issue 1462813003: Split BrowsingHistoryHandler out of history_ui.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..38f7777e5a548dd92dcd52f89666324fdce96bef 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;
+struct QueryOptions;
+class QueryResults;
}
// 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_
« no previous file with comments | « no previous file | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698