Home
last modified time | relevance | path

Searched refs:meta_info_map (Results 1 – 14 of 14) 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.cc32 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()
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_pasteboard_helper_mac.mm49 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);
Dbookmark_node_data_unittest.cc294 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()
Dbookmark_storage.h81 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()
Dbookmark_model.cc405 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()
Dbookmark_node_data.h71 BookmarkNode::MetaInfoMap meta_info_map; member
Dbookmark_node.h103 void SetMetaInfoMap(const MetaInfoMap& meta_info_map);
Dbookmark_utils.cc53 &element.meta_info_map); in CloneBookmarkNodeImpl()
56 parent, index_to_add_at, element.title, &element.meta_info_map); in CloneBookmarkNodeImpl()
Dbookmark_model.h270 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.cc823 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()