Home | History | Annotate | Download | only in brillo

Lines Matching refs:url

18 namespace url {
20 // Appends a subpath to url and delimiting then with '/' if the path doesn't
23 const std::string& url,
26 const std::string& url,
29 // Removes the query string/fragment from |url| and returns the query string.
30 // This method actually modifies |url|. So, if you call it on this:
32 // it will modify |url| to "http://www.test.org/" and return "?foo=bar"
33 BRILLO_EXPORT std::string TrimOffQueryString(std::string* url);
36 // For example, for the following URL:
39 // http://server.com/path/to/object - is the URL of the object,
40 // ?k=v&foo=bar - URL query string
41 // #fragment - URL fragment string
44 BRILLO_EXPORT std::string GetQueryString(const std::string& url,
49 const std::string& url);
53 const std::string& url,
59 // Removes the query string and/or a fragment part from URL.
66 const std::string& url,
69 // Appends a single query parameter to the URL.
71 const std::string& url,
74 // Appends a list of query parameters to the URL.
76 const std::string& url,
79 // Checks if the URL has query parameters.
80 BRILLO_EXPORT bool HasQueryString(const std::string& url);
82 } // namespace url