| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "google_apis/gaia/oauth_request_signer.h" | 5 #include "google_apis/gaia/oauth_request_signer.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <cctype> | 9 #include <cctype> |
| 8 #include <cstddef> | 10 #include <cstddef> |
| 9 #include <cstdlib> | 11 #include <cstdlib> |
| 10 #include <cstring> | 12 #include <cstring> |
| 11 #include <ctime> | 13 #include <ctime> |
| 12 #include <map> | 14 #include <map> |
| 13 #include <string> | 15 #include <string> |
| 14 | 16 |
| 15 #include "base/base64.h" | 17 #include "base/base64.h" |
| 16 #include "base/format_macros.h" | 18 #include "base/format_macros.h" |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 signed_text += | 452 signed_text += |
| 451 base::StringPrintf( | 453 base::StringPrintf( |
| 452 "%s=\"%s\"", | 454 "%s=\"%s\"", |
| 453 OAuthRequestSigner::Encode(param->first).c_str(), | 455 OAuthRequestSigner::Encode(param->first).c_str(), |
| 454 OAuthRequestSigner::Encode(param->second).c_str()); | 456 OAuthRequestSigner::Encode(param->second).c_str()); |
| 455 } | 457 } |
| 456 *signed_text_return = signed_text; | 458 *signed_text_return = signed_text; |
| 457 } | 459 } |
| 458 return is_signed; | 460 return is_signed; |
| 459 } | 461 } |
| OLD | NEW |