summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/toolbar_importer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/importer/toolbar_importer.cc')
-rw-r--r--chrome/browser/importer/toolbar_importer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc
index 54f75d6..80d5a7f 100644
--- a/chrome/browser/importer/toolbar_importer.cc
+++ b/chrome/browser/importer/toolbar_importer.cc
@@ -27,7 +27,8 @@ bool ToolbarImporterUtils::IsGoogleGAIACookieInstalled() {
URLRequestContext* context = Profile::GetDefaultRequestContext();
net::CookieMonster* store= context->cookie_store();
GURL url(kGoogleDomainUrl);
- net::CookieMonster::CookieOptions options = net::CookieMonster::NORMAL;
+ net::CookieMonster::CookieOptions options;
+ options.set_include_httponly(); // The SID cookie might be httponly.
std::string cookies = store->GetCookiesWithOptions(url, options);
std::vector<std::string> cookie_list;
SplitString(cookies, kSplitStringToken, &cookie_list);