Home
last modified time | relevance | path

Searched refs:meta_info (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/net/url_request/
Durl_request_file_job.cc69 FileMetaInfo* meta_info = new FileMetaInfo(); in Start() local
73 base::Unretained(meta_info)), in Start()
76 base::Owned(meta_info))); in Start()
208 FileMetaInfo* meta_info) { in FetchMetaInfo() argument
210 meta_info->file_exists = base::GetFileInfo(file_path, &file_info); in FetchMetaInfo()
211 if (meta_info->file_exists) { in FetchMetaInfo()
212 meta_info->file_size = file_info.size; in FetchMetaInfo()
213 meta_info->is_directory = file_info.is_directory; in FetchMetaInfo()
217 meta_info->mime_type_result = GetMimeTypeFromFile(file_path, in FetchMetaInfo()
218 &meta_info->mime_type); in FetchMetaInfo()
[all …]
Durl_request_file_job.h85 FileMetaInfo* meta_info);
88 void DidFetchMetaInfo(const FileMetaInfo* meta_info);
/external/chromium_org/components/enhanced_bookmarks/
Denhanced_bookmark_model.cc137 BookmarkNode::MetaInfoMap meta_info; in AddURL() local
138 meta_info[kIdKey] = GenerateRemoteId(); in AddURL()
140 parent, index, title, url, creation_time, &meta_info); in AddURL()
371 BookmarkNode::MetaInfoMap meta_info; in ResetDuplicateRemoteIds() local
372 meta_info[kIdKey] = ""; in ResetDuplicateRemoteIds()
373 meta_info[kOldIdKey] = it->second; in ResetDuplicateRemoteIds()
374 SetMultipleMetaInfo(it->first, meta_info); in ResetDuplicateRemoteIds()
384 BookmarkNode::MetaInfoMap meta_info; in SetMetaInfo() local
387 meta_info.insert(old_meta_info->begin(), old_meta_info->end()); in SetMetaInfo()
390 BookmarkNode::MetaInfoMap::iterator it = meta_info.find(field); in SetMetaInfo()
[all …]
Denhanced_bookmark_model_unittest.cc487 BookmarkNode::MetaInfoMap meta_info; in TEST_F() local
488 meta_info["stars.id"] = "c_1"; in TEST_F()
498 &meta_info); in TEST_F()
508 &meta_info); in TEST_F()
540 BookmarkNode::MetaInfoMap meta_info; in TEST_F() local
541 meta_info["a"] = "aa"; in TEST_F()
542 meta_info["b"] = "bb"; in TEST_F()
545 model_->SetMultipleMetaInfo(node, meta_info); in TEST_F()
551 meta_info["a"] = "aaa"; in TEST_F()
553 model_->SetMultipleMetaInfo(node, meta_info); in TEST_F()
[all …]
Denhanced_bookmark_model.h180 BookmarkNode::MetaInfoMap meta_info);
/external/chromium_org/sync/protocol/
Dproto_value_conversions_unittest.cc164 base::DictionaryValue* meta_info; in TEST_F() local
167 ASSERT_TRUE(meta_info_list->GetDictionary(0, &meta_info)); in TEST_F()
168 EXPECT_TRUE(meta_info->GetString("key", &meta_key)); in TEST_F()
169 EXPECT_TRUE(meta_info->GetString("value", &meta_value)); in TEST_F()
172 ASSERT_TRUE(meta_info_list->GetDictionary(1, &meta_info)); in TEST_F()
173 EXPECT_TRUE(meta_info->GetString("key", &meta_key)); in TEST_F()
174 EXPECT_TRUE(meta_info->GetString("value", &meta_value)); in TEST_F()
Dbookmark_specifics.proto32 repeated MetaInfo meta_info = 6; field
Dproto_value_conversions.cc492 SET_REP(meta_info, &MetaInfoToValue); in BookmarkSpecificsToValue()
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
Dbookmark_api_helpers.cc142 const BookmarkNode::MetaInfoMap* meta_info = node.GetMetaInfoMap(); in GetMetaInfo() local
144 if (meta_info) { in GetMetaInfo()
146 for (itr = meta_info->begin(); itr != meta_info->end(); ++itr) { in GetMetaInfo()
Dbookmarks_api.cc146 const BookmarkNode::MetaInfoMap* meta_info) { in CreateBookmarkNode() argument
189 parent, index, title, url, base::Time::Now(), meta_info); in CreateBookmarkNode()
191 node = model->AddFolderWithMetaInfo(parent, index, title, meta_info); in CreateBookmarkNode()
Dbookmarks_api.h152 const BookmarkNode::MetaInfoMap* meta_info);
/external/chromium_org/components/bookmarks/browser/
Dbookmark_codec.cc152 base::DictionaryValue* meta_info = new base::DictionaryValue; in EncodeMetaInfo() local
155 meta_info->SetStringWithoutPathExpansion(it->first, it->second); in EncodeMetaInfo()
157 return meta_info; in EncodeMetaInfo()
382 const base::Value* meta_info; in DecodeMetaInfo() local
383 if (!value.Get(kMetaInfo, &meta_info)) in DecodeMetaInfo()
390 if (meta_info->IsType(base::Value::TYPE_STRING)) { in DecodeMetaInfo()
392 meta_info->GetAsString(&meta_info_str); in DecodeMetaInfo()
397 meta_info = deserialized_holder.get(); in DecodeMetaInfo()
403 if (!meta_info->GetAsDictionary(&meta_info_dict)) in DecodeMetaInfo()
Dbookmark_model.cc565 const BookmarkNode::MetaInfoMap* meta_info) { in AddFolderWithMetaInfo() argument
577 if (meta_info) in AddFolderWithMetaInfo()
578 new_node->SetMetaInfoMap(*meta_info); in AddFolderWithMetaInfo()
602 const BookmarkNode::MetaInfoMap* meta_info) { in AddURLWithCreationTimeAndMetaInfo() argument
617 if (meta_info) in AddURLWithCreationTimeAndMetaInfo()
618 new_node->SetMetaInfoMap(*meta_info); in AddURLWithCreationTimeAndMetaInfo()
Dbookmark_model.h201 const BookmarkNode::MetaInfoMap* meta_info);
216 const BookmarkNode::MetaInfoMap* meta_info);
Dbookmark_model_unittest.cc394 BookmarkNode::MetaInfoMap meta_info; in TEST_F() local
395 meta_info["foo"] = "bar"; in TEST_F()
398 root, 0, title, url, time, &meta_info); in TEST_F()
408 ASSERT_EQ(meta_info, *new_node->GetMetaInfoMap()); in TEST_F()
/external/chromium_org/sync/engine/
Ddirectory_commit_contribution_unittest.cc261 sync_pb::MetaInfo* meta_info = bm_specifics->add_meta_info(); in TEST_F() local
262 meta_info->set_key("K"); in TEST_F()
263 meta_info->set_value("V"); in TEST_F()
285 EXPECT_EQ("K", entity.specifics().bookmark().meta_info(0).key()); in TEST_F()
286 EXPECT_EQ("V", entity.specifics().bookmark().meta_info(0).value()); in TEST_F()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_change_processor.cc826 (*meta_info_map)[specifics.meta_info(i).key()] = in GetBookmarkMetaInfo()
827 specifics.meta_info(i).value(); in GetBookmarkMetaInfo()
842 sync_pb::MetaInfo* meta_info = specifics.add_meta_info(); in SetSyncNodeMetaInfo() local
843 meta_info->set_key(it->first); in SetSyncNodeMetaInfo()
844 meta_info->set_value(it->second); in SetSyncNodeMetaInfo()
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
Dbookmark_manager_private_api.cc653 model, params->bookmark, &params->meta_info.additional_properties); in RunOnReady()
685 const BookmarkNode::MetaInfoMap* meta_info = node->GetMetaInfoMap(); in RunOnReady() local
686 if (meta_info) { in RunOnReady()
689 for (itr = meta_info->begin(); itr != meta_info->end(); itr++) { in RunOnReady()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
Dperftestsrunner.py270 meta_info = {
279 for key, value in meta_info.items():
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc261 sync_pb::MetaInfo* meta_info = specifics->add_meta_info(); in SetNodeMetaInfo() local
262 meta_info->set_key(it->first); in SetNodeMetaInfo()
263 meta_info->set_value(it->second); in SetNodeMetaInfo()
602 meta_info_map->find(specifics.meta_info(i).key()); in ExpectSyncerNodeMatching()
604 EXPECT_EQ(it->second, specifics.meta_info(i).value()); in ExpectSyncerNodeMatching()