Index: net/base/sdch_manager.cc |
=================================================================== |
--- net/base/sdch_manager.cc (revision 9856) |
+++ net/base/sdch_manager.cc (working copy) |
@@ -172,8 +172,10 @@ |
return true; |
} |
-void SdchManager::FetchDictionary(const GURL& dictionary_url) { |
- if (fetcher_.get()) |
+void SdchManager::FetchDictionary(const GURL& request_url, |
+ const GURL& dictionary_url) { |
+ if (SdchManager::Global()->CanFetchDictionary(request_url, dictionary_url) && |
+ fetcher_.get()) |
fetcher_->Schedule(dictionary_url); |
} |