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

Unified Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 6693021: fav icon -> favicon. Pass 5: fav_icon -> favicon (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/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index 59a785a20ce179046460fb539977361da1803ed1..a4ddeeed40634e725d56ce6a24ad242172830e94 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -21,7 +21,7 @@ ExternalProcessImporterClient::ExternalProcessImporterClient(
: bookmarks_options_(0),
total_bookmarks_count_(0),
total_history_rows_count_(0),
- total_fav_icons_count_(0),
+ total_favicons_count_(0),
process_importer_host_(importer_host),
profile_import_process_host_(NULL),
profile_info_(profile_info),
@@ -192,23 +192,23 @@ void ExternalProcessImporterClient::OnBookmarksImportGroup(
}
void ExternalProcessImporterClient::OnFavIconsImportStart(
- size_t total_fav_icons_count) {
+ size_t total_favicons_count) {
if (cancelled_)
return;
- total_fav_icons_count_ = total_fav_icons_count;
- fav_icons_.reserve(total_fav_icons_count);
+ total_favicons_count_ = total_favicons_count;
+ favicons_.reserve(total_favicons_count);
}
void ExternalProcessImporterClient::OnFavIconsImportGroup(
- const std::vector<history::ImportedFavIconUsage>& fav_icons_group) {
+ const std::vector<history::ImportedFavIconUsage>& favicons_group) {
if (cancelled_)
return;
- fav_icons_.insert(fav_icons_.end(), fav_icons_group.begin(),
- fav_icons_group.end());
- if (fav_icons_.size() == total_fav_icons_count_)
- bridge_->SetFavicons(fav_icons_);
+ favicons_.insert(favicons_.end(), favicons_group.begin(),
+ favicons_group.end());
+ if (favicons_.size() == total_favicons_count_)
+ bridge_->SetFavicons(favicons_);
}
void ExternalProcessImporterClient::OnPasswordFormImportReady(
« no previous file with comments | « chrome/browser/importer/external_process_importer_client.h ('k') | chrome/browser/importer/importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698