| Index: chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| index eb44d6eaf49089967394677774327df9611f8d76..8f9e008ada32684d2568ff12e49ad1f83add45a3 100644
|
| --- a/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| +++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc
|
| @@ -22,6 +22,8 @@ static const char kKeyIcon[] = "icon";
|
| static const char kKeyType[] = "type";
|
| static const char kKeyHasChildren[] = "hasChildren";
|
|
|
| +static const char kKeyAppId[] = "appId";
|
| +
|
| static const char kKeyName[] = "name";
|
| static const char kKeyContent[] = "content";
|
| static const char kKeyDomain[] = "domain";
|
| @@ -101,6 +103,12 @@ bool GetCookieTreeNodeDictionary(const CookieTreeNode& node,
|
| #endif
|
| break;
|
| }
|
| + case CookieTreeNode::DetailedInfo::TYPE_APP: {
|
| + dict->SetString(kKeyType, "app");
|
| + dict->SetString(kKeyName, node.GetDetailedInfo().app_name);
|
| + dict->SetString(kKeyAppId, node.GetDetailedInfo().app_id);
|
| + break;
|
| + }
|
| case CookieTreeNode::DetailedInfo::TYPE_COOKIE: {
|
| dict->SetString(kKeyType, "cookie");
|
| dict->SetString(kKeyIcon, "chrome://theme/IDR_COOKIE_ICON");
|
|
|