Index: chrome/browser/extensions/webstore_inline_installer.cc |
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc |
index e28e59ea771ac15c8cdcb9486b730b7b50a1dc0c..d87d23d45f3765b02fd3ee0e6ae36e67525245ab 100644 |
--- a/chrome/browser/extensions/webstore_inline_installer.cc |
+++ b/chrome/browser/extensions/webstore_inline_installer.cc |
@@ -22,6 +22,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/utility_process_host.h" |
#include "content/public/browser/utility_process_host_client.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "net/base/escape.h" |
#include "net/base/load_flags.h" |
@@ -178,6 +179,9 @@ void WebstoreInlineInstaller::BeginInstall() { |
web_contents()->GetBrowserContext()); |
webstore_data_url_fetcher_->SetRequestContext( |
profile->GetRequestContext()); |
+ // No user data, as the request will be cookie-less. |
+ webstore_data_url_fetcher_->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
// Use the requesting page as the referrer both since that is more correct |
// (it is the page that caused this request to happen) and so that we can |
// track top sites that trigger inline install requests. |