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

Unified Diff: chrome/browser/history/history.h

Issue 8890089: [Sync] Add HistoryService::DeleteURLsForTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index dcb306453440e0788e5996543bf95d71021fcf87..18d195982ec1eba7927759954ee227ea75b5264e 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -380,6 +380,10 @@ class HistoryService : public CancelableRequestProvider,
// Delete all the information related to a single url.
void DeleteURL(const GURL& url);
+ // Delete all the information related to a list of urls. (Deleting
+ // URLs one by one is slow as it has to flush to disk each time.)
+ void DeleteURLsForTest(const std::vector<GURL>& urls);
+
// Removes all visits in the selected time range (including the start time),
// updating the URLs accordingly. This deletes the associated data, including
// the full text index. This function also deletes the associated favicons,

Powered by Google App Engine
This is Rietveld 408576698