Home
last modified time | relevance | path

Searched refs:parsed_url (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/
Dpreview.py30 parsed_url = urlparse.urlparse(self.path)
31 request_path = self._GetRequestPath(parsed_url)
43 self._ShowPanels(parsed_url, head, body)
45 self._ShowCompiledFile(parsed_url, head, body)
53 def _GetRequestPath(self, parsed_url, strip_nav=False): argument
56 path = parsed_url.path
58 path = parsed_url.path.replace('/nav', '')
61 def _ShowPanels(self, parsed_url, head, body): argument
96 self._RenderNavPane(parsed_url.path[1:])
200 def _ShowCompiledFile(self, parsed_url, head, body): argument
[all …]
/external/chromium_org/tools/telemetry_tools/
Dtelemetry_bootstrap.py153 parsed_url = urlparse.urlparse(src_path)
154 root_url = parsed_url.scheme + '://' + parsed_url.netloc
157 dav_client.Traverse(parsed_url.path, full_dst_path)
/external/chromium/chrome/browser/download/
Ddrag_download_util.cc37 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_org/content/browser/download/
Ddrag_download_util.cc40 GURL parsed_url = GURL(metadata.substr(file_name_end_pos + 1)); in ParseDownloadMetadata() local
41 if (!parsed_url.is_valid()) in ParseDownloadMetadata()
56 *url = parsed_url; in ParseDownloadMetadata()
/external/chromium_org/chrome/browser/profiles/
Dprofile_downloader_unittest.cc59 std::string parsed_url; in VerifyWithAccountData() local
65 &parsed_url, in VerifyWithAccountData()
74 EXPECT_EQ(expected_url, parsed_url); in VerifyWithAccountData()
/external/chromium_org/tools/telemetry/telemetry/page/
Dpage.py68 parsed_url = urlparse.urlparse(self.url[7:])
70 self._base_dir, parsed_url.netloc + parsed_url.path))
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_unittest.cc478 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()
Dtemplate_url.cc162 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_org/chrome/browser/search_engines/
Dtemplate_url_unittest.cc736 std::string parsed_url("{searchTerms}"); in TEST_F() local
738 data.SetURL(parsed_url); in TEST_F()
741 EXPECT_TRUE(url.url_ref().ParseParameter(0, 12, &parsed_url, &replacements)); in TEST_F()
742 EXPECT_EQ(std::string(), parsed_url); in TEST_F()
749 std::string parsed_url("{fhqwhgads}abc"); in TEST_F() local
751 data.SetURL(parsed_url); in TEST_F()
757 EXPECT_FALSE(url.url_ref().ParseParameter(0, 10, &parsed_url, &replacements)); in TEST_F()
758 EXPECT_EQ("{fhqwhgads}abc", parsed_url); in TEST_F()
762 parsed_url = "{fhqwhgads}abc"; in TEST_F()
765 EXPECT_TRUE(url2.url_ref().ParseParameter(0, 10, &parsed_url, &replacements)); in TEST_F()
[all …]
Dtemplate_url.cc647 std::string parsed_url = url; in ParseURL() local
649 last = parsed_url.find(kStartParameter, last); in ParseURL()
651 size_t template_end = parsed_url.find(kEndParameter, last); in ParseURL()
655 size_t next_template_start = parsed_url.find(kStartParameter, last + 1); in ParseURL()
660 if (!ParseParameter(last, template_end, &parsed_url, replacements)) { in ParseURL()
707 return parsed_url; in ParseURL()
/external/chromium_org/chrome_frame/
Dutils.cc1110 GURL parsed_url(WideToUTF8(bho_url)); in GetActualUrlFromMoniker() local
1111 if (!parsed_url.has_ref()) in GetActualUrlFromMoniker()
1174 GURL parsed_url(url); in GetUrlWithoutFragment() local
1176 if (parsed_url.has_ref()) { in GetUrlWithoutFragment()
1181 parsed_url = parsed_url.ReplaceComponents(replacements); in GetUrlWithoutFragment()
1183 return parsed_url; in GetUrlWithoutFragment()
Dchrome_frame_automation.cc655 GURL parsed_url(url); in InitiateNavigation() local
659 if (!CanNavigate(parsed_url, navigation_constraints)) { in InitiateNavigation()
668 parsed_url != chrome_launch_params_->url()) { in InitiateNavigation()
677 chrome_launch_params_ = new ChromeFrameLaunchParams(parsed_url, in InitiateNavigation()
682 chrome_launch_params_->set_url(parsed_url); in InitiateNavigation()
Dchrome_frame_activex.cc118 std::string ActiveXCreateUrl(const GURL& parsed_url, in ActiveXCreateUrl() argument
122 parsed_url.GetOrigin().spec().c_str(), in ActiveXCreateUrl()
Dchrome_frame_activex_base.h134 std::string ActiveXCreateUrl(const GURL& parsed_url,
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit.cc942 GURL parsed_url; in GetURLForText() local
944 UserTextFromDisplayText(text), string16(), NULL, NULL, &parsed_url); in GetURLForText()
948 *url = parsed_url; in GetURLForText()
/external/chromium_org/chrome_frame/test/
Dtest_with_web_server.cc177 GURL parsed_url(WideToUTF8(page)); in LaunchBrowser() local
178 if (!parsed_url.has_scheme()) { in LaunchBrowser()