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

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

Issue 375613002: Bypass the favicon_service when importing favicons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed friend. 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
Index: chrome/browser/history/history_service.h
diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h
index f6d73b1b3cdb77ae0967983be8db3f9f0f78981d..60549b27931f6a49279a6117ccc9881ef65727e6 100644
--- a/chrome/browser/history/history_service.h
+++ b/chrome/browser/history/history_service.h
@@ -379,6 +379,14 @@ class HistoryService : public CancelableRequestProvider,
syncer::SyncError ProcessLocalDeleteDirective(
const sync_pb::HistoryDeleteDirectiveSpecifics& delete_directive);
+ // Importer ------------------------------------------------------------------
+
+ // Used by the ProfileWriter for importing many favicons for many pages at
+ // once. The pages must exist, any favicon sets for unknown pages will be
+ // discarded. Existing favicons will not be overwritten.
+ void SetImportedFavicons(
+ const std::vector<ImportedFaviconUsage>& favicon_usage);
+
// Downloads -----------------------------------------------------------------
// Implemented by the caller of 'CreateDownload' below, and is called when the
@@ -722,12 +730,6 @@ class HistoryService : public CancelableRequestProvider,
// provided that other page does not already have favicons.
void CloneFavicons(const GURL& old_page_url, const GURL& new_page_url);
- // Used by the FaviconService for importing many favicons for many pages at
- // once. The pages must exist, any favicon sets for unknown pages will be
- // discarded. Existing favicons will not be overwritten.
- void SetImportedFavicons(
- const std::vector<ImportedFaviconUsage>& favicon_usage);
-
// Sets the in-memory URL database. This is called by the backend once the
// database is loaded to make it available.
void SetInMemoryBackend(

Powered by Google App Engine
This is Rietveld 408576698