Home | History | Annotate | Download | only in base

Lines Matching refs:username

588       "http://username:password@google.com",
589 "username",
593 "http://username:p@ssword@google.com",
594 "username",
598 "http://username:p%3fa%26s%2fs%23@google.com",
599 "username",
602 { // Username contains %20.
612 { // Use a '+' in the username.
618 "http://username:p&ssword@google.com",
619 "username",
628 string16 username, password;
629 GetIdentityFromURL(url, &username, &password);
631 EXPECT_EQ(ASCIIToUTF16(tests[i].expected_username), username);
636 // Try extracting a username which was encoded with UTF8.
640 EXPECT_EQ("foo", url.username());
644 string16 username, password;
645 GetIdentityFromURL(url, &username, &password);
648 EXPECT_EQ(ASCIIToUTF16("foo"), username);
1514 {"With username and password, omit_username_password=false",
1519 {"With username and password, omit_username_password=true",
1523 {"With username and no password",
1527 {"Just '@' without username and password",
1531 // GURL doesn't think local-part of an email address is username for URL.
1659 formatted.substr(parsed.username.begin, parsed.username.len));
1682 formatted.substr(parsed.username.begin, parsed.username.len));
1704 EXPECT_FALSE(parsed.username.is_valid());
1726 EXPECT_FALSE(parsed.username.is_valid());
1745 EXPECT_FALSE(parsed.username.is_valid());
1764 EXPECT_FALSE(parsed.username.is_valid());
1785 EXPECT_FALSE(parsed.username.is_valid());
2102 { // Strip username/password.
2106 { // Strip both the reference and the username/password.
2110 { // Try an HTTPS URL -- strip both the reference and the username/password.
2114 { // Try an FTP URL -- strip both the reference and the username/password.