summaryrefslogtreecommitdiffstats
path: root/components/favicon
diff options
context:
space:
mode:
authorpkotwicz <pkotwicz@chromium.org>2015-04-08 12:20:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-08 19:21:42 +0000
commite66a6984230f0005a184edae8c03ea7f46a1f8a4 (patch)
treeaafd0a74aaed1021115a28ad1fd88d9c62f86b7b /components/favicon
parente13f573064ee476198208d4524aa0dfb898b266a (diff)
downloadchromium_src-e66a6984230f0005a184edae8c03ea7f46a1f8a4.zip
chromium_src-e66a6984230f0005a184edae8c03ea7f46a1f8a4.tar.gz
chromium_src-e66a6984230f0005a184edae8c03ea7f46a1f8a4.tar.bz2
Remove unused ThumbnailDatabase::UpdateIconMapping() and ThumbnailDatabase::CloneIconMappings()
BUG=None TEST=None Review URL: https://codereview.chromium.org/1055173003 Cr-Commit-Position: refs/heads/master@{#324267}
Diffstat (limited to 'components/favicon')
-rw-r--r--components/favicon/core/favicon_service.cc6
-rw-r--r--components/favicon/core/favicon_service.h7
2 files changed, 0 insertions, 13 deletions
diff --git a/components/favicon/core/favicon_service.cc b/components/favicon/core/favicon_service.cc
index dd1ada4c..31c7041 100644
--- a/components/favicon/core/favicon_service.cc
+++ b/components/favicon/core/favicon_service.cc
@@ -231,12 +231,6 @@ void FaviconService::SetFaviconOutOfDateForPage(const GURL& page_url) {
history_service_->SetFaviconsOutOfDateForPage(page_url);
}
-void FaviconService::CloneFavicon(const GURL& old_page_url,
- const GURL& new_page_url) {
- if (history_service_)
- history_service_->CloneFavicons(old_page_url, new_page_url);
-}
-
void FaviconService::SetImportedFavicons(
const favicon_base::FaviconUsageDataList& favicon_usage) {
if (history_service_)
diff --git a/components/favicon/core/favicon_service.h b/components/favicon/core/favicon_service.h
index d122e90..e237967 100644
--- a/components/favicon/core/favicon_service.h
+++ b/components/favicon/core/favicon_service.h
@@ -171,13 +171,6 @@ class FaviconService : public KeyedService {
// Marks all types of favicon for the page as being out of date.
void SetFaviconOutOfDateForPage(const GURL& page_url);
- // Clones all icons from an existing page. This associates the icons from
- // |old_page_url| with |new_page_url|, provided |new_page_url| has no
- // recorded associations to any other icons.
- // Needed if you want to declare favicons (tentatively) in advance, before a
- // page is ever visited.
- void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url);
-
// Allows the importer to set 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.