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

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

Issue 6698031: fav icon -> favicon. Pass 7: FavIconID -> FaviconID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: chrome/browser/history/expire_history_backend.cc
diff --git a/chrome/browser/history/expire_history_backend.cc b/chrome/browser/history/expire_history_backend.cc
index 384c3980cfbc0408ed438be9d0297f08277724c2..5b603adec39f6e3fce0f8134dd2fee384b70a7a4 100644
--- a/chrome/browser/history/expire_history_backend.cc
+++ b/chrome/browser/history/expire_history_backend.cc
@@ -153,7 +153,7 @@ struct ExpireHistoryBackend::DeleteDependencies {
// The list of all favicon IDs that the affected URLs had. Favicons will be
// shared between all URLs with the same favicon, so this is the set of IDs
// that we will need to check when the delete operations are complete.
- std::set<FavIconID> affected_favicons;
+ std::set<FaviconID> affected_favicons;
// Tracks the set of databases that have changed so we can optimize when
// when we're done.
@@ -316,11 +316,11 @@ void ExpireHistoryBackend::StartArchivingOldStuff(
}
void ExpireHistoryBackend::DeleteFaviconsIfPossible(
- const std::set<FavIconID>& favicon_set) {
+ const std::set<FaviconID>& favicon_set) {
if (!thumb_db_)
return;
- for (std::set<FavIconID>::const_iterator i = favicon_set.begin();
+ for (std::set<FaviconID>::const_iterator i = favicon_set.begin();
i != favicon_set.end(); ++i) {
if (!thumb_db_->HasMappingFor(*i))
thumb_db_->DeleteFavIcon(*i);
@@ -644,9 +644,9 @@ bool ExpireHistoryBackend::ArchiveSomeOldHistory(
// Create a union of all affected favicons (we don't store favicons for
// archived URLs) and delete them.
- std::set<FavIconID> affected_favicons(
+ std::set<FaviconID> affected_favicons(
archived_dependencies.affected_favicons);
- for (std::set<FavIconID>::const_iterator i =
+ for (std::set<FaviconID>::const_iterator i =
deleted_dependencies.affected_favicons.begin();
i != deleted_dependencies.affected_favicons.end(); ++i) {
affected_favicons.insert(*i);
« no previous file with comments | « chrome/browser/history/expire_history_backend.h ('k') | chrome/browser/history/expire_history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698