diff options
Diffstat (limited to 'google_apis/gaia/oauth_request_signer.cc')
-rw-r--r-- | google_apis/gaia/oauth_request_signer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/google_apis/gaia/oauth_request_signer.cc b/google_apis/gaia/oauth_request_signer.cc index b5d138f..9952a6f 100644 --- a/google_apis/gaia/oauth_request_signer.cc +++ b/google_apis/gaia/oauth_request_signer.cc @@ -89,7 +89,7 @@ std::string BuildBaseString(const GURL& request_base_url, std::string BuildBaseStringParameters( const OAuthRequestSigner::Parameters& parameters) { - std::string result = ""; + std::string result; OAuthRequestSigner::Parameters::const_iterator cursor; OAuthRequestSigner::Parameters::const_iterator limit; bool first = true; @@ -297,7 +297,7 @@ bool SignParameters(const GURL& request_base_url, // static bool OAuthRequestSigner::Decode(const std::string& text, std::string* decoded_text) { - std::string accumulator = ""; + std::string accumulator; std::string::const_iterator cursor; std::string::const_iterator limit; for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) { @@ -335,7 +335,7 @@ bool OAuthRequestSigner::Decode(const std::string& text, // static std::string OAuthRequestSigner::Encode(const std::string& text) { - std::string result = ""; + std::string result; std::string::const_iterator cursor; std::string::const_iterator limit; for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) { |