Index: chrome/browser/google/google_url_tracker.cc |
diff --git a/chrome/browser/google/google_url_tracker.cc b/chrome/browser/google/google_url_tracker.cc |
index dd2da73022be1a76c72ef400010fc901769d254b..832bc338b153c0e7d9a37c53ec2785241d8275dc 100644 |
--- a/chrome/browser/google/google_url_tracker.cc |
+++ b/chrome/browser/google/google_url_tracker.cc |
@@ -24,6 +24,7 @@ |
#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "grit/generated_resources.h" |
#include "net/base/load_flags.h" |
@@ -225,6 +226,9 @@ void GoogleURLTracker::StartFetchIfDesirable() { |
fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | |
net::LOAD_DO_NOT_SAVE_COOKIES); |
fetcher_->SetRequestContext(g_browser_process->system_request_context()); |
+ // TODO(jochen): Do cookie audit. |
+ fetcher_->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
// Configure to max_retries at most kMaxRetries times for 5xx errors. |
static const int kMaxRetries = 5; |