Lines Matching defs:query
20 // Pretty print the JSON escaped in the query string.
21 std::string PrettyPrintEscapedJson(const std::string& query) {
23 query, net::UnescapeRule::SPACES | net::UnescapeRule::URL_SPECIAL_CHARS);
50 // Confirm that "%20" is used instead of "+" in the query.
51 EXPECT_TRUE(url.query().find("+") == std::string::npos);
52 EXPECT_TRUE(url.query().find("%20") != std::string::npos);
53 // The escaped query is hard to read. Pretty print the escaped JSON.
65 PrettyPrintEscapedJson(url.query()));
98 // Confirm that "%20" is used instead of "+" in the query.
99 EXPECT_TRUE(url.query().find("+") == std::string::npos);
100 EXPECT_TRUE(url.query().find("%20") != std::string::npos);
101 // The escaped query is hard to read. Pretty print the escaped JSON.
123 PrettyPrintEscapedJson(url.query()));