| Index: chrome/browser/browsing_data/cookies_tree_model.cc
|
| diff --git a/chrome/browser/browsing_data/cookies_tree_model.cc b/chrome/browser/browsing_data/cookies_tree_model.cc
|
| index 9c36bb498a9079a3e9ca99db585da38f49680b4b..2b4bcbedf881e4d9acd9d4fd3bee11fb393e105b 100644
|
| --- a/chrome/browser/browsing_data/cookies_tree_model.cc
|
| +++ b/chrome/browser/browsing_data/cookies_tree_model.cc
|
| @@ -953,6 +953,18 @@ CookiesTreeModel::CookiesTreeModel(
|
| CookiesTreeModel::~CookiesTreeModel() {
|
| }
|
|
|
| +// static
|
| +int CookiesTreeModel::GetSendForMessageID(const net::CanonicalCookie& cookie) {
|
| + if (cookie.IsSecure()) {
|
| + if (cookie.IsFirstPartyOnly())
|
| + return IDS_COOKIES_COOKIE_SENDFOR_SECURE_FIRSTPARTY;
|
| + return IDS_COOKIES_COOKIE_SENDFOR_SECURE;
|
| + }
|
| + if (cookie.IsFirstPartyOnly())
|
| + return IDS_COOKIES_COOKIE_SENDFOR_FIRSTPARTY;
|
| + return IDS_COOKIES_COOKIE_SENDFOR_ANY;
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // CookiesTreeModel, TreeModel methods (public):
|
|
|
|
|