/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_codec.cc | 139 const BookmarkNode::MetaInfoMap* meta_info_map = node->GetMetaInfoMap(); in EncodeNode() local 140 if (meta_info_map) in EncodeNode() 141 value->Set(kMetaInfo, EncodeMetaInfo(*meta_info_map)); in EncodeNode() 151 const BookmarkNode::MetaInfoMap& meta_info_map) { in EncodeMetaInfo() argument 153 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map.begin(); in EncodeMetaInfo() 154 it != meta_info_map.end(); ++it) { in EncodeMetaInfo() 359 BookmarkNode::MetaInfoMap meta_info_map; in DecodeNode() local 360 if (!DecodeMetaInfo(value, &meta_info_map, &sync_transaction_version)) in DecodeNode() 362 node->SetMetaInfoMap(meta_info_map); in DecodeNode() 376 BookmarkNode::MetaInfoMap* meta_info_map, in DecodeMetaInfo() argument [all …]
|
D | bookmark_node_data.cc | 30 meta_info_map = *node->GetMetaInfoMap(); in Element() 43 pickle->WriteUInt64(meta_info_map.size()); in WriteToPickle() 44 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map.begin(); in WriteToPickle() 45 it != meta_info_map.end(); ++it) { in WriteToPickle() 70 meta_info_map.clear(); in ReadFromPickle() 81 meta_info_map[key] = value; in ReadFromPickle()
|
D | bookmark_node.cc | 94 void BookmarkNode::SetMetaInfoMap(const MetaInfoMap& meta_info_map) { in SetMetaInfoMap() argument 95 if (meta_info_map.empty()) in SetMetaInfoMap() 98 meta_info_map_.reset(new MetaInfoMap(meta_info_map)); in SetMetaInfoMap()
|
D | bookmark_codec.h | 115 base::Value* EncodeMetaInfo(const BookmarkNode::MetaInfoMap& meta_info_map); 149 BookmarkNode::MetaInfoMap* meta_info_map, 157 BookmarkNode::MetaInfoMap* meta_info_map);
|
D | bookmark_node_data_unittest.cc | 292 BookmarkNode::MetaInfoMap meta_info_map = read_data.elements[0].meta_info_map; in TEST_F() local 293 EXPECT_EQ(2u, meta_info_map.size()); in TEST_F() 294 EXPECT_EQ("somevalue", meta_info_map["somekey"]); in TEST_F() 295 EXPECT_EQ("someothervalue", meta_info_map["someotherkey"]); in TEST_F()
|
D | bookmark_storage.h | 80 void set_model_meta_info_map(const BookmarkNode::MetaInfoMap& meta_info_map) { in set_model_meta_info_map() argument 81 model_meta_info_map_ = meta_info_map; in set_model_meta_info_map()
|
D | bookmark_model.cc | 404 const BookmarkNode::MetaInfoMap& meta_info_map) { in SetNodeMetaInfoMap() argument 406 if ((!old_meta_info_map && meta_info_map.empty()) || in SetNodeMetaInfoMap() 407 (old_meta_info_map && meta_info_map == *old_meta_info_map)) in SetNodeMetaInfoMap() 413 AsMutable(node)->SetMetaInfoMap(meta_info_map); in SetNodeMetaInfoMap() 423 const BookmarkNode::MetaInfoMap* meta_info_map = node->GetMetaInfoMap(); in DeleteNodeMetaInfo() local 424 if (!meta_info_map || meta_info_map->find(key) == meta_info_map->end()) in DeleteNodeMetaInfo()
|
D | bookmark_node_data.h | 69 BookmarkNode::MetaInfoMap meta_info_map; member
|
D | bookmark_node.h | 103 void SetMetaInfoMap(const MetaInfoMap& meta_info_map);
|
D | bookmark_utils.cc | 49 &element.meta_info_map); in CloneBookmarkNodeImpl() 52 parent, index_to_add_at, element.title, &element.meta_info_map); in CloneBookmarkNodeImpl()
|
D | bookmark_model.h | 275 const BookmarkNode::MetaInfoMap& meta_info_map);
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 80 const BookmarkNode::MetaInfoMap* meta_info_map, in AddWithMetaInfo() argument 103 if (meta_info_map) in AddWithMetaInfo() 104 SetNodeMetaInfo(*meta_info_map, &specifics); in AddWithMetaInfo() 130 const BookmarkNode::MetaInfoMap* meta_info_map, in AddFolderWithMetaInfo() argument 133 return AddWithMetaInfo(title, std::string(), meta_info_map, true, parent_id, in AddFolderWithMetaInfo() 146 const BookmarkNode::MetaInfoMap* meta_info_map, in AddURLWithMetaInfo() argument 149 return AddWithMetaInfo(title, url, meta_info_map, false, parent_id, in AddURLWithMetaInfo() 222 const BookmarkNode::MetaInfoMap& meta_info_map) { in ModifyMetaInfo() argument 226 SetNodeMetaInfo(meta_info_map, &specifics); in ModifyMetaInfo() 256 void SetNodeMetaInfo(const BookmarkNode::MetaInfoMap& meta_info_map, in SetNodeMetaInfo() argument [all …]
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | bookmark_change_processor.cc | 778 scoped_ptr<BookmarkNode::MetaInfoMap> meta_info_map( in GetBookmarkMetaInfo() local 781 (*meta_info_map)[specifics.meta_info(i).key()] = in GetBookmarkMetaInfo() 784 return meta_info_map.Pass(); in GetBookmarkMetaInfo() 793 const BookmarkNode::MetaInfoMap* meta_info_map = node->GetMetaInfoMap(); in SetSyncNodeMetaInfo() local 794 if (meta_info_map) { in SetSyncNodeMetaInfo() 795 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map->begin(); in SetSyncNodeMetaInfo() 796 it != meta_info_map->end(); ++it) { in SetSyncNodeMetaInfo()
|