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

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

Issue 2928823003: Make it possible to build without enable_supervised_users.
Patch Set: Does it still compile with the feature enabled? Created 3 years, 6 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BROWSING_HISTORY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "base/time/clock.h" 17 #include "base/time/clock.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chrome/browser/history/browsing_history_service_handler.h" 19 #include "chrome/browser/history/browsing_history_service_handler.h"
20 #include "content/public/browser/web_ui_message_handler.h" 20 #include "content/public/browser/web_ui_message_handler.h"
21 21
22 namespace history { 22 namespace history {
23 struct QueryOptions; 23 struct QueryOptions;
24 } // namespace history 24 }
25 25
26 // The handler for Javascript messages related to the "history" view. 26 // The handler for Javascript messages related to the "history" view.
27 class BrowsingHistoryHandler : 27 class BrowsingHistoryHandler :
28 public content::WebUIMessageHandler, 28 public content::WebUIMessageHandler,
29 public BrowsingHistoryServiceHandler { 29 public BrowsingHistoryServiceHandler {
30 public: 30 public:
31 BrowsingHistoryHandler(); 31 BrowsingHistoryHandler();
32 ~BrowsingHistoryHandler() override; 32 ~BrowsingHistoryHandler() override;
33 33
34 // WebUIMessageHandler implementation. 34 // WebUIMessageHandler implementation.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // The clock used to vend times. 90 // The clock used to vend times.
91 std::unique_ptr<base::Clock> clock_; 91 std::unique_ptr<base::Clock> clock_;
92 92
93 std::unique_ptr<BrowsingHistoryService> browsing_history_service_; 93 std::unique_ptr<BrowsingHistoryService> browsing_history_service_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); 95 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler);
96 }; 96 };
97 97
98 #endif // CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_ 98 #endif // CHROME_BROWSER_UI_WEBUI_BROWSING_HISTORY_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698