OLD | NEW |
---|---|
(Empty) | |
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 | |
droger
2015/02/05 16:16:13
Nit: I think utility files are usually called "uti
| |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ | |
6 #define CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ | |
7 | |
8 #include <set> | |
9 | |
10 #include "base/callback_forward.h" | |
11 | |
12 class HistoryService; | |
13 class GURL; | |
14 | |
15 namespace base { | |
16 class CancelableTaskTrasker; | |
17 class Time; | |
18 } | |
19 | |
20 namespace history { | |
21 | |
22 class WebHistoryService; | |
23 | |
24 // Removes all visits to the given URLs in the specified time range in both | |
25 // |local_history| and |web_history|. Calls HistoryService::ExpireHistoryBetween | |
26 // to delete local visits, and handles deletion of synced visits if appropriate. | |
27 void ExpireLocalAndRemoteHistoryBetween(HistoryService* local_history, | |
28 history::WebHistoryService* web_history, | |
29 const std::set<GURL>& restrict_urls, | |
30 base::Time begin_time, | |
31 base::Time end_time, | |
32 const base::Closure& callback, | |
33 base::CancelableTaskTrasker* tracker); | |
34 | |
droger
2015/02/05 16:16:13
Remove on blank line.
| |
35 | |
36 } // namespace history | |
37 | |
38 #endif // CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ | |
OLD | NEW |