| Index: chrome/browser/ui/webui/cookies_tree_model_util.h
|
| diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.h b/chrome/browser/ui/webui/cookies_tree_model_util.h
|
| index 423f293c11c83a60daac75a75e97c0cac9462169..39e16de784764ba354c8327eebad3cf13a5ca1fc 100644
|
| --- a/chrome/browser/ui/webui/cookies_tree_model_util.h
|
| +++ b/chrome/browser/ui/webui/cookies_tree_model_util.h
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/id_map.h"
|
| #include "base/macros.h"
|
| +#include "base/strings/string16.h"
|
|
|
| class CookieTreeNode;
|
|
|
| @@ -28,6 +29,13 @@ class CookiesTreeModelUtil {
|
| // Finds or creates an ID for given |node| and returns it as string.
|
| std::string GetTreeNodeId(const CookieTreeNode* node);
|
|
|
| + // Append the details of the child nodes of |parent| in specified range.
|
| + void GetChildNodeDetails(const CookieTreeNode* parent,
|
| + int start,
|
| + int count,
|
| + bool include_quota_nodes,
|
| + base::ListValue* list);
|
| +
|
| // Append the children nodes of |parent| in specified range to |nodes| list.
|
| void GetChildNodeList(const CookieTreeNode* parent,
|
| int start,
|
| @@ -41,6 +49,11 @@ class CookiesTreeModelUtil {
|
| const CookieTreeNode* GetTreeNodeFromPath(const CookieTreeNode* root,
|
| const std::string& path);
|
|
|
| + // Gets tree node from |title| under |root|. |title| is a node title. Return
|
| + // NULL if |title| is not found.
|
| + const CookieTreeNode* GetTreeNodeFromTitle(const CookieTreeNode* root,
|
| + const base::string16& title);
|
| +
|
| private:
|
| typedef IDMap<const CookieTreeNode> CookiesTreeNodeIdMap;
|
| typedef std::map<const CookieTreeNode*, int32_t> CookieTreeNodeMap;
|
|
|