Searched refs:parsed_url (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/download/ |
D | drag_download_util.cc | 37 GURL parsed_url = GURL(metadata.substr(file_name_end_pos + 1)); in ParseDownloadMetadata() local 38 if (!parsed_url.is_valid()) in ParseDownloadMetadata() 53 *url = parsed_url; in ParseDownloadMetadata()
|
/external/chromium/chrome/browser/search_engines/ |
D | template_url_unittest.cc | 478 std::string parsed_url("{searchTerms}"); in TEST_F() local 479 TemplateURLRef url_ref(parsed_url, 0, 0); in TEST_F() 481 EXPECT_TRUE(url_ref.ParseParameter(0, 12, &parsed_url, &replacements)); in TEST_F() 482 EXPECT_EQ(std::string(), parsed_url); in TEST_F() 489 std::string parsed_url("{}"); in TEST_F() local 490 TemplateURLRef url_ref(parsed_url, 0, 0); in TEST_F() 492 EXPECT_FALSE(url_ref.ParseParameter(0, 1, &parsed_url, &replacements)); in TEST_F() 493 EXPECT_EQ("{}", parsed_url); in TEST_F()
|
D | template_url.cc | 162 std::string parsed_url = url; in ParseURL() local 164 last = parsed_url.find(kStartParameter, last); in ParseURL() 166 size_t template_end = parsed_url.find(kEndParameter, last); in ParseURL() 170 size_t next_template_start = parsed_url.find(kStartParameter, last + 1); in ParseURL() 175 if (!ParseParameter(last, template_end, &parsed_url, replacements)) { in ParseURL() 189 return parsed_url; in ParseURL()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit.cc | 942 GURL parsed_url; in GetURLForText() local 944 UserTextFromDisplayText(text), string16(), NULL, NULL, &parsed_url); in GetURLForText() 948 *url = parsed_url; in GetURLForText()
|