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 "chrome/common/net/gaia/oauth_request_signer.h" | 5 #include "google_apis/gaia/oauth_request_signer.h" |
6 | 6 |
7 #include <cctype> | 7 #include <cctype> |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <cstdlib> | 9 #include <cstdlib> |
10 #include <cstring> | 10 #include <cstring> |
11 #include <ctime> | 11 #include <ctime> |
12 #include <map> | 12 #include <map> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/base64.h" | 15 #include "base/base64.h" |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 signed_text += ", "; | 449 signed_text += ", "; |
450 signed_text += | 450 signed_text += |
451 StringPrintf("%s=\"%s\"", | 451 StringPrintf("%s=\"%s\"", |
452 OAuthRequestSigner::Encode(param->first).c_str(), | 452 OAuthRequestSigner::Encode(param->first).c_str(), |
453 OAuthRequestSigner::Encode(param->second).c_str()); | 453 OAuthRequestSigner::Encode(param->second).c_str()); |
454 } | 454 } |
455 *signed_text_return = signed_text; | 455 *signed_text_return = signed_text; |
456 } | 456 } |
457 return is_signed; | 457 return is_signed; |
458 } | 458 } |
OLD | NEW |