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

Unified Diff: chrome/browser/ui/views/cookie_info_view.cc

Issue 10694093: Remove the force_session cookie option, as it's not used anymore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 5 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/ui/views/cookie_info_view.cc
diff --git a/chrome/browser/ui/views/cookie_info_view.cc b/chrome/browser/ui/views/cookie_info_view.cc
index 758acf8a081924487271347f3c898b835784d774..0b930d2eb6433cd77370c4de2c5fcad32a6a7831 100644
--- a/chrome/browser/ui/views/cookie_info_view.cc
+++ b/chrome/browser/ui/views/cookie_info_view.cc
@@ -68,13 +68,13 @@ void CookieInfoView::SetCookie(
created_value_field_->SetText(
base::TimeFormatFriendlyDateAndTime(cookie.CreationDate()));
- string16 expire_text = cookie.DoesExpire() ?
+ string16 expire_text = cookie.IsPersistent() ?
base::TimeFormatFriendlyDateAndTime(cookie.ExpiryDate()) :
l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_EXPIRES_SESSION);
if (editable_expiration_date_) {
expire_combo_values_.clear();
- if (cookie.DoesExpire())
+ if (cookie.IsPersistent())
expire_combo_values_.push_back(expire_text);
expire_combo_values_.push_back(
l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_EXPIRES_SESSION));

Powered by Google App Engine
This is Rietveld 408576698