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

Side by Side Diff: chrome/browser/history/history_utils.h

Issue 901803005: Remove dependency of HistoryService on WebHistoryServiceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DEPS
Patch Set: 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698