Index: chrome/browser/spellchecker/spellcheck_host_impl.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_host_impl.cc b/chrome/browser/spellchecker/spellcheck_host_impl.cc |
index 05a2612a1a46d5a6049f7d60d23fca815b3de1e2..ae17c93d6f40feea590629e388d46773536d63ea 100644 |
--- a/chrome/browser/spellchecker/spellcheck_host_impl.cc |
+++ b/chrome/browser/spellchecker/spellcheck_host_impl.cc |
@@ -28,6 +28,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_process_host.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
#include "net/base/load_flags.h" |
@@ -285,6 +286,9 @@ void SpellCheckHostImpl::DownloadDictionary() { |
fetcher_.reset(content::URLFetcher::Create(url, content::URLFetcher::GET, |
weak_ptr_factory_.GetWeakPtr())); |
fetcher_->SetRequestContext(request_context_getter_); |
+ // TODO(jochen): Do cookie audit. |
+ fetcher_->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); |
tried_to_download_ = true; |
fetcher_->Start(); |