Home
last modified time | relevance | path

Searched refs:meta_info_map (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/components/bookmarks/browser/
Dbookmark_codec.cc139 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 …]
Dbookmark_node_data.cc30 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()
Dbookmark_node.cc94 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()
Dbookmark_codec.h115 base::Value* EncodeMetaInfo(const BookmarkNode::MetaInfoMap& meta_info_map);
149 BookmarkNode::MetaInfoMap* meta_info_map,
157 BookmarkNode::MetaInfoMap* meta_info_map);
Dbookmark_node_data_unittest.cc292 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()
Dbookmark_storage.h80 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()
Dbookmark_model.cc404 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()
Dbookmark_node_data.h69 BookmarkNode::MetaInfoMap meta_info_map; member
Dbookmark_node.h103 void SetMetaInfoMap(const MetaInfoMap& meta_info_map);
Dbookmark_utils.cc49 &element.meta_info_map); in CloneBookmarkNodeImpl()
52 parent, index_to_add_at, element.title, &element.meta_info_map); in CloneBookmarkNodeImpl()
Dbookmark_model.h275 const BookmarkNode::MetaInfoMap& meta_info_map);
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc80 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/
Dbookmark_change_processor.cc778 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()