| Index: chrome/browser/extensions/extension_cookies_helpers.cc
|
| diff --git a/chrome/browser/extensions/extension_cookies_helpers.cc b/chrome/browser/extensions/extension_cookies_helpers.cc
|
| index 418eb971e29448010215034db9bf57b88c9eba3a..0fd187ea12b882302442eaf40a24793e791288c0 100644
|
| --- a/chrome/browser/extensions/extension_cookies_helpers.cc
|
| +++ b/chrome/browser/extensions/extension_cookies_helpers.cc
|
| @@ -94,6 +94,8 @@ GURL GetURLFromCanonicalCookie(
|
| const std::string& domain_key = cookie.Domain();
|
| const std::string scheme =
|
| cookie.IsSecure() ? chrome::kHttpsScheme : chrome::kHttpScheme;
|
| + // TODO(sqs): secure cookies must be able to be reconstructed, but this is a
|
| + // problem with httpsv
|
| const std::string host =
|
| domain_key.find('.') != 0 ? domain_key : domain_key.substr(1);
|
| return GURL(scheme + chrome::kStandardSchemeSeparator + host + "/");
|
|
|