Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: chrome/browser/spellchecker/spelling_service_client.cc

Issue 9545005: Disable storing cookies from URLFetchers that run with a profile's cookie jar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/spellchecker/spelling_service_client.cc
diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc
index 49747c7b277fd2c44d54e17c4c7d3a6d197f63e1..5b05d45e20443752957756861b201739925f05a9 100644
--- a/chrome/browser/spellchecker/spelling_service_client.cc
+++ b/chrome/browser/spellchecker/spelling_service_client.cc
@@ -16,6 +16,7 @@
#include "chrome/common/spellcheck_result.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/url_fetcher.h"
+#include "net/base/load_flags.h"
#include "unicode/uloc.h"
#if defined(GOOGLE_CHROME_BUILD)
@@ -93,6 +94,7 @@ bool SpellingServiceClient::RequestTextCheck(
url, content::URLFetcher::POST, this));
fetcher_->SetRequestContext(context);
fetcher_->SetUploadData("application/json", request);
+ fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES);
fetcher_->Start();
tag_ = tag;
callback_ = callback;

Powered by Google App Engine
This is Rietveld 408576698