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

Unified Diff: components/history/core/browser/thumbnail_database.h

Issue 1055173003: Remove unused ThumbnailDatabase::UpdateIconMapping() and ThumbnailDatabase::CloneIconMappings() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: components/history/core/browser/thumbnail_database.h
diff --git a/components/history/core/browser/thumbnail_database.h b/components/history/core/browser/thumbnail_database.h
index c3c2927b86a760146cee2efbd81e1bac9e170759..e75b495c8c8d1b9ba2f55bed13b6c27a592d709d 100644
--- a/components/history/core/browser/thumbnail_database.h
+++ b/components/history/core/browser/thumbnail_database.h
@@ -190,12 +190,6 @@ class ThumbnailDatabase {
IconMappingID AddIconMapping(const GURL& page_url,
favicon_base::FaviconID icon_id);
- // Updates the page and icon mapping for the given mapping_id with the given
- // icon_id.
- // Returns true if the update succeeded.
- bool UpdateIconMapping(IconMappingID mapping_id,
- favicon_base::FaviconID icon_id);
-
// Deletes the icon mapping entries for the given page url.
// Returns true if the deletion succeeded.
bool DeleteIconMappings(const GURL& page_url);
@@ -207,10 +201,6 @@ class ThumbnailDatabase {
// Checks whether a favicon is used by any URLs in the database.
bool HasMappingFor(favicon_base::FaviconID id);
- // Clones the existing mappings from |old_page_url| if |new_page_url| has no
- // mappings. Otherwise, will leave mappings alone.
- bool CloneIconMappings(const GURL& old_page_url, const GURL& new_page_url);
-
// The class to enumerate icon mappings. Use InitIconMappingEnumerator to
// initialize.
class IconMappingEnumerator {
« no previous file with comments | « components/history/core/browser/history_service.cc ('k') | components/history/core/browser/thumbnail_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698