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

Unified Diff: net/base/sdch_dictionary_fetcher.cc

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: net/base/sdch_dictionary_fetcher.cc
diff --git a/net/base/sdch_dictionary_fetcher.cc b/net/base/sdch_dictionary_fetcher.cc
index aa2061eba8e1da490096104b492020374e1b4439..89d070a0eaadb8217d44682f2fcce8bab9f74705 100644
--- a/net/base/sdch_dictionary_fetcher.cc
+++ b/net/base/sdch_dictionary_fetcher.cc
@@ -36,13 +36,15 @@ void SdchDictionaryFetcher::Schedule(const GURL& dictionary_url) {
// and get a different dictionary, but there is no reason to have it in the
// queue twice at one time.
if (!fetch_queue_.empty() && fetch_queue_.back() == dictionary_url) {
- SdchManager::SdchErrorRecovery(
- SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD);
+ manager_->SdchErrorRecovery(
+ SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD,
+ dictionary_url);
return;
}
if (attempted_load_.find(dictionary_url) != attempted_load_.end()) {
- SdchManager::SdchErrorRecovery(
- SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD);
+ manager_->SdchErrorRecovery(
+ SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD,
+ dictionary_url);
return;
}
attempted_load_.insert(dictionary_url);

Powered by Google App Engine
This is Rietveld 408576698