Searched refs:open_with_links (Results 1 – 3 of 3) sorted by relevance
166 ASSERT_EQ(1U, file1.open_with_links().size()); in TEST()167 EXPECT_EQ("1234567890", file1.open_with_links()[0].app_id); in TEST()169 file1.open_with_links()[0].open_url); in TEST()193 EXPECT_EQ(0U, file2.open_with_links().size()); in TEST()206 EXPECT_EQ(0U, file3.open_with_links().size()); in TEST()
508 const std::vector<OpenWithLink>& open_with_links() const { in open_with_links() function
136 const std::vector<FileResource::OpenWithLink>& open_with_links = in ExtractOpenUrlAndRun() local137 value->open_with_links(); in ExtractOpenUrlAndRun()138 for (size_t i = 0; i < open_with_links.size(); ++i) { in ExtractOpenUrlAndRun()139 if (open_with_links[i].app_id == app_id) { in ExtractOpenUrlAndRun()140 callback.Run(HTTP_SUCCESS, open_with_links[i].open_url); in ExtractOpenUrlAndRun()