Home
last modified time | relevance | path

Searched refs:GetMetaInfo (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
Dbookmark_manager_private_api.cc55 namespace GetMetaInfo = api::bookmark_manager_private::GetMetaInfo;
666 scoped_ptr<GetMetaInfo::Params> params(GetMetaInfo::Params::Create(*args_)); in RunOnReady()
676 if (node->GetMetaInfo(*params->key, &value)) { in RunOnReady()
677 GetMetaInfo::Results::Value result; in RunOnReady()
679 results_ = GetMetaInfo::Results::Create(result); in RunOnReady()
682 GetMetaInfo::Results::Value result; in RunOnReady()
683 result.as_object.reset(new GetMetaInfo::Results::Value::Object); in RunOnReady()
693 results_ = GetMetaInfo::Results::Create(result); in RunOnReady()
704 GetMetaInfo::Results::Value result; in RunOnReady()
705 result.as_object.reset(new GetMetaInfo::Results::Value::Object); in RunOnReady()
[all …]
/external/chromium_org/components/bookmarks/browser/
Dbookmark_codec_unittest.cc410 EXPECT_TRUE(model->root_node()->GetMetaInfo("model_info", &meta_value)); in TEST_F()
412 EXPECT_FALSE(model->root_node()->GetMetaInfo("other_key", &meta_value)); in TEST_F()
416 EXPECT_TRUE(child->GetMetaInfo("node_info", &meta_value)); in TEST_F()
418 EXPECT_FALSE(child->GetMetaInfo("other_key", &meta_value)); in TEST_F()
467 model->root_node()->GetMetaInfo(kSyncTransactionVersionKey, &meta_value)); in TEST_F()
469 bbn->GetChild(1)->GetMetaInfo(kSyncTransactionVersionKey, &meta_value)); in TEST_F()
470 EXPECT_TRUE(bbn->GetChild(0)->GetMetaInfo(kNormalKey, &meta_value)); in TEST_F()
472 EXPECT_TRUE(bbn->GetChild(1)->GetMetaInfo(kNormalKey, &meta_value)); in TEST_F()
474 EXPECT_TRUE(bbn->GetChild(0)->GetMetaInfo(kNestedKey, &meta_value)); in TEST_F()
Dbookmark_model_unittest.cc1179 EXPECT_TRUE(node.GetMetaInfo("key1", &out_value)); in TEST()
1183 EXPECT_FALSE(node.GetMetaInfo("key2.subkey1", &out_value)); in TEST()
1185 EXPECT_TRUE(node.GetMetaInfo("key2.subkey1", &out_value)); in TEST()
1188 EXPECT_FALSE(node.GetMetaInfo("key2.subkey2.leaf", &out_value)); in TEST()
1190 EXPECT_TRUE(node.GetMetaInfo("key2.subkey2.leaf", &out_value)); in TEST()
1197 EXPECT_FALSE(node.GetMetaInfo("key1", &out_value)); in TEST()
1198 EXPECT_FALSE(node.GetMetaInfo("key2.subkey1", &out_value)); in TEST()
1199 EXPECT_FALSE(node.GetMetaInfo("key2.subkey2", &out_value)); in TEST()
1200 EXPECT_FALSE(node.GetMetaInfo("key2.subkey2.leaf", &out_value)); in TEST()
Dbookmark_utils_unittest.cc348 EXPECT_TRUE(pasted->GetMetaInfo("somekey", &value)); in TEST_F()
350 EXPECT_TRUE(pasted->GetMetaInfo("someotherkey", &value)); in TEST_F()
483 EXPECT_TRUE(clone->GetMetaInfo("somekey", &value)); in TEST_F()
485 EXPECT_TRUE(clone->GetMetaInfo("someotherkey", &value)); in TEST_F()
Dbookmark_node.cc55 bool BookmarkNode::GetMetaInfo(const std::string& key, in GetMetaInfo() function in BookmarkNode
Dbookmark_node.h100 bool GetMetaInfo(const std::string& key, std::string* value) const;
Dbookmark_model.cc390 if (node->GetMetaInfo(key, &old_value) && old_value == value) in SetNodeMetaInfo()
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
Dbookmark_api_helpers.cc137 void GetMetaInfo(const BookmarkNode& node, in GetMetaInfo() function
154 GetMetaInfo(*(node.GetChild(i)), id_to_meta_info_map); in GetMetaInfo()
Dbookmark_api_helpers.h48 void GetMetaInfo(const BookmarkNode& node,
Dbookmark_api_helpers_unittest.cc176 TEST_F(ExtensionBookmarksTest, GetMetaInfo) { in TEST_F() argument
178 GetMetaInfo(*model_->other_node(), &id_to_meta_info_map); in TEST_F()
/external/chromium_org/components/enhanced_bookmarks/
Denhanced_bookmark_model.cc37 if (!node->GetMetaInfo(field, &value)) in DataForMetaInfoField()
148 if (!node->GetMetaInfo(kIdKey, &id)) in GetRemoteId()
169 if (node->GetMetaInfo(kNoteKey, &description) && !description.empty()) in GetDescription()
Denhanced_bookmark_model_unittest.cc99 if (!node->GetMetaInfo(name, &value)) in GetMetaInfoField()