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

Side by Side Diff: chrome/browser/ui/webui/history_ui.h

Issue 882753002: Componentize WebHistoryService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/task/cancelable_task_tracker.h" 13 #include "base/task/cancelable_task_tracker.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/history/web_history_service.h"
17 #include "components/history/core/browser/history_service_observer.h" 16 #include "components/history/core/browser/history_service_observer.h"
17 #include "components/history/core/browser/web_history_service.h"
18 #include "content/public/browser/web_ui_controller.h" 18 #include "content/public/browser/web_ui_controller.h"
19 #include "content/public/browser/web_ui_message_handler.h" 19 #include "content/public/browser/web_ui_message_handler.h"
20 #include "ui/base/layout.h"
20 21
21 class HistoryService; 22 class HistoryService;
22 class ProfileSyncService; 23 class ProfileSyncService;
23 class SupervisedUserService; 24 class SupervisedUserService;
24 25
25 namespace bookmarks { 26 namespace bookmarks {
26 class BookmarkModel; 27 class BookmarkModel;
27 } 28 }
28 29
29 // The handler for Javascript messages related to the "history" view. 30 // The handler for Javascript messages related to the "history" view.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 explicit HistoryUI(content::WebUI* web_ui); 218 explicit HistoryUI(content::WebUI* web_ui);
218 219
219 static base::RefCountedMemory* GetFaviconResourceBytes( 220 static base::RefCountedMemory* GetFaviconResourceBytes(
220 ui::ScaleFactor scale_factor); 221 ui::ScaleFactor scale_factor);
221 222
222 private: 223 private:
223 DISALLOW_COPY_AND_ASSIGN(HistoryUI); 224 DISALLOW_COPY_AND_ASSIGN(HistoryUI);
224 }; 225 };
225 226
226 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ 227 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/hotword_service_unittest.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698