Searched refs:UrlUtilities (Results 1 - 11 of 11) sorted by path

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DUrlUtilities.java20 public class UrlUtilities { class
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/
H A DChromeContextMenuPopulator.java15 import org.chromium.chrome.browser.UrlUtilities;
69 UrlUtilities.isDownloadableScheme(params.getLinkUrl()));
73 UrlUtilities.isDownloadableScheme(params.getSrcUrl()));
76 UrlUtilities.isDownloadableScheme(params.getSrcUrl()));
90 UrlUtilities.isDownloadableScheme(params.getSrcUrl()) &&
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
H A DUrlUtilitiesTest.java18 assertTrue(UrlUtilities.isAcceptedScheme("about:awesome"));
19 assertTrue(UrlUtilities.isAcceptedScheme("data:data"));
20 assertTrue(UrlUtilities.isAcceptedScheme(
22 assertTrue(UrlUtilities.isAcceptedScheme("http://awesome.example.com/"));
23 assertTrue(UrlUtilities.isAcceptedScheme("file://awesome.example.com/"));
24 assertTrue(UrlUtilities.isAcceptedScheme("inline:skates.co.uk"));
25 assertTrue(UrlUtilities.isAcceptedScheme("javascript:alert(1)"));
27 assertFalse(UrlUtilities.isAcceptedScheme("super:awesome"));
28 assertFalse(UrlUtilities.isAcceptedScheme(
30 assertFalse(UrlUtilities
[all...]
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
H A DChromeShellTab.java11 import org.chromium.chrome.browser.UrlUtilities;
61 url = UrlUtilities.fixupUrl(url);
/external/chromium_org/net/tools/dump_cache/
H A Durl_to_filename_encoder.cc91 string filename_ending = UrlUtilities::Unescape(escaped_ending);
H A Durl_to_filename_encoder.h101 std::string url_no_scheme = UrlUtilities::GetUrlHostPath(url);
111 std::string host = UrlUtilities::GetUrlHost(clean_url);
120 std::string url_filename = UrlUtilities::GetUrlPath(clean_url);
H A Durl_utilities.cc13 std::string UrlUtilities::GetUrlHost(const std::string& url) {
36 std::string UrlUtilities::GetUrlHostPath(const std::string& url) {
45 std::string UrlUtilities::GetUrlPath(const std::string& url) {
63 // Parsing states for UrlUtilities::Unescape
72 std::string UrlUtilities::Unescape(const std::string& escaped_url) {
H A Durl_utilities.h12 struct UrlUtilities { struct in namespace:net
H A Durl_utilities_unittest.cc17 UrlUtilities::GetUrlHost("http://www.foo.com"));
19 UrlUtilities::GetUrlHost("http://www.foo.com:80"));
21 UrlUtilities::GetUrlHost("http://www.foo.com:80/"));
23 UrlUtilities::GetUrlHost("http://www.foo.com/news"));
25 UrlUtilities::GetUrlHost("www.foo.com:80/news?q=hello"));
27 UrlUtilities::GetUrlHost("www.foo.com/news?q=a:b"));
29 UrlUtilities::GetUrlHost("www.foo.com:80"));
34 UrlUtilities::GetUrlHostPath("http://www.foo.com"));
36 UrlUtilities::GetUrlHostPath("http://www.foo.com:80"));
38 UrlUtilities
[all...]
/external/chromium_org/net/tools/flip_server/
H A Dhttp_interface.cc49 UrlUtilities::GetUrlHost(headers.GetHeader("Host").as_string());
H A Dspdy_interface.cc155 // UrlUtilities::GetUrlPath will fail and always return a / breaking
157 path_string = UrlUtilities::GetUrlPath(url->second);
158 host_string = UrlUtilities::GetUrlHost(url->second);
460 block["url"] = UrlUtilities::GetUrlPath(original_url);
470 block[":path"] = UrlUtilities::GetUrlPath(original_url);
471 block[":host"] = UrlUtilities::GetUrlPath(original_url);

Completed in 283 milliseconds