Open nvonpentz opened 2 years ago
Let's review how we're using base:StringPrintf in the codebase, and see if we can use net::AppendQueryParameter for query parameters and base::Value for JSON building instead.
Related to https://github.com/brave/brave-core/pull/14329#pullrequestreview-1059396584.
It would be nice to also have a helper like this for constructing URLs using individual paths, to complement net::AppendQueryParameter.
net::AppendQueryParameter
GURL AppendPath(const GURL& url, base::StringPiece path)
Let's review how we're using base:StringPrintf in the codebase, and see if we can use net::AppendQueryParameter for query parameters and base::Value for JSON building instead.
Related to https://github.com/brave/brave-core/pull/14329#pullrequestreview-1059396584.