Index: chrome/browser/extensions/webstore_install_helper.cc |
diff --git a/chrome/browser/extensions/webstore_install_helper.cc b/chrome/browser/extensions/webstore_install_helper.cc |
index d5184ed870a543d054c448e2946f31640d13872d..155f40383445745adf28cb1797c3f91b7ac69b12 100644 |
--- a/chrome/browser/extensions/webstore_install_helper.cc |
+++ b/chrome/browser/extensions/webstore_install_helper.cc |
@@ -11,6 +11,7 @@ |
#include "chrome/common/chrome_utility_messages.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/utility_process_host.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "net/base/load_flags.h" |
#include "net/url_request/url_request_context_getter.h" |
@@ -61,6 +62,9 @@ void WebstoreInstallHelper::Start() { |
url_fetcher_.reset(content::URLFetcher::Create( |
icon_url_, content::URLFetcher::GET, this)); |
url_fetcher_->SetRequestContext(context_getter_); |
+ // TODO(jochen): Do cookie audit. |
+ url_fetcher_->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); |
url_fetcher_->Start(); |