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

Unified Diff: chrome/browser/history/history_service.cc

Issue 407513002: Revert of Bypass the favicon_service when importing favicons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_service.h ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index 377e4efca5294a22e5f5fa9e82fb13b75d98df4b..13713c88099d8fe7ef5dd658921fe34340c91978 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -688,6 +688,13 @@
old_page_url, new_page_url);
}
+void HistoryService::SetImportedFavicons(
+ const std::vector<ImportedFaviconUsage>& favicon_usage) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ ScheduleAndForget(PRIORITY_NORMAL,
+ &HistoryBackend::SetImportedFavicons, favicon_usage);
+}
+
base::CancelableTaskTracker::TaskId HistoryService::QueryURL(
const GURL& url,
bool want_visits,
@@ -705,15 +712,6 @@
base::Unretained(query_url_result)),
base::Bind(
&RunWithQueryURLResult, callback, base::Owned(query_url_result)));
-}
-
-// Importer --------------------------------------------------------------------
-
-void HistoryService::SetImportedFavicons(
- const std::vector<ImportedFaviconUsage>& favicon_usage) {
- DCHECK(thread_checker_.CalledOnValidThread());
- ScheduleAndForget(
- PRIORITY_NORMAL, &HistoryBackend::SetImportedFavicons, favicon_usage);
}
// Downloads -------------------------------------------------------------------
« no previous file with comments | « chrome/browser/history/history_service.h ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698