Chromium Code Reviews| Index: chrome/browser/history/history_utils.h |
| diff --git a/chrome/browser/history/history_utils.h b/chrome/browser/history/history_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e5545d345210c6525a6d6e27f1cad1df82121bca |
| --- /dev/null |
| +++ b/chrome/browser/history/history_utils.h |
| @@ -0,0 +1,38 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// 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
|
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ |
| +#define CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ |
| + |
| +#include <set> |
| + |
| +#include "base/callback_forward.h" |
| + |
| +class HistoryService; |
| +class GURL; |
| + |
| +namespace base { |
| +class CancelableTaskTrasker; |
| +class Time; |
| +} |
| + |
| +namespace history { |
| + |
| +class WebHistoryService; |
| + |
| +// Removes all visits to the given URLs in the specified time range in both |
| +// |local_history| and |web_history|. Calls HistoryService::ExpireHistoryBetween |
| +// to delete local visits, and handles deletion of synced visits if appropriate. |
| +void ExpireLocalAndRemoteHistoryBetween(HistoryService* local_history, |
| + history::WebHistoryService* web_history, |
| + const std::set<GURL>& restrict_urls, |
| + base::Time begin_time, |
| + base::Time end_time, |
| + const base::Closure& callback, |
| + base::CancelableTaskTrasker* tracker); |
| + |
|
droger
2015/02/05 16:16:13
Remove on blank line.
|
| + |
| +} // namespace history |
| + |
| +#endif // CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ |