/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 | 32 meta_info_map = *node->GetMetaInfoMap(); in Element() 45 pickle->WriteUInt64(meta_info_map.size()); in WriteToPickle() 46 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map.begin(); in WriteToPickle() 47 it != meta_info_map.end(); ++it) { in WriteToPickle() 72 meta_info_map.clear(); in ReadFromPickle() 83 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_pasteboard_helper_mac.mm | 49 BookmarkNode::MetaInfoMap meta_info_map; 52 meta_info_map[base::SysNSStringToUTF8(key)] = 56 return meta_info_map; 160 const BookmarkNode::MetaInfoMap& meta_info_map) { 163 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map.begin(); 164 it != meta_info_map.end(); ++it) { 178 DictionaryFromBookmarkMetaInfo(element.meta_info_map);
|
D | bookmark_node_data_unittest.cc | 294 BookmarkNode::MetaInfoMap meta_info_map = read_data.elements[0].meta_info_map; in TEST_F() local 295 EXPECT_EQ(2u, meta_info_map.size()); in TEST_F() 296 EXPECT_EQ("somevalue", meta_info_map["somekey"]); in TEST_F() 297 EXPECT_EQ("someothervalue", meta_info_map["someotherkey"]); in TEST_F()
|
D | bookmark_storage.h | 81 void set_model_meta_info_map(const BookmarkNode::MetaInfoMap& meta_info_map) { in set_model_meta_info_map() argument 82 model_meta_info_map_ = meta_info_map; in set_model_meta_info_map()
|
D | bookmark_model.cc | 405 const BookmarkNode::MetaInfoMap& meta_info_map) { in SetNodeMetaInfoMap() argument 407 if ((!old_meta_info_map && meta_info_map.empty()) || in SetNodeMetaInfoMap() 408 (old_meta_info_map && meta_info_map == *old_meta_info_map)) in SetNodeMetaInfoMap() 414 AsMutable(node)->SetMetaInfoMap(meta_info_map); in SetNodeMetaInfoMap() 424 const BookmarkNode::MetaInfoMap* meta_info_map = node->GetMetaInfoMap(); in DeleteNodeMetaInfo() local 425 if (!meta_info_map || meta_info_map->find(key) == meta_info_map->end()) in DeleteNodeMetaInfo()
|
D | bookmark_node_data.h | 71 BookmarkNode::MetaInfoMap meta_info_map; member
|
D | bookmark_node.h | 103 void SetMetaInfoMap(const MetaInfoMap& meta_info_map);
|
D | bookmark_utils.cc | 53 &element.meta_info_map); in CloneBookmarkNodeImpl() 56 parent, index_to_add_at, element.title, &element.meta_info_map); in CloneBookmarkNodeImpl()
|
D | bookmark_model.h | 270 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 | 823 scoped_ptr<BookmarkNode::MetaInfoMap> meta_info_map( in GetBookmarkMetaInfo() local 826 (*meta_info_map)[specifics.meta_info(i).key()] = in GetBookmarkMetaInfo() 829 return meta_info_map.Pass(); in GetBookmarkMetaInfo() 838 const BookmarkNode::MetaInfoMap* meta_info_map = node->GetMetaInfoMap(); in SetSyncNodeMetaInfo() local 839 if (meta_info_map) { in SetSyncNodeMetaInfo() 840 for (BookmarkNode::MetaInfoMap::const_iterator it = meta_info_map->begin(); in SetSyncNodeMetaInfo() 841 it != meta_info_map->end(); ++it) { in SetSyncNodeMetaInfo()
|