Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: google_apis/gaia/oauth_request_signer.h

Issue 1548673002: Switch to standard integer types in google_apis/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_ 5 #ifndef GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_
6 #define GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_ 6 #define GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 // Implements the OAuth request signing process as described here: 15 // Implements the OAuth request signing process as described here:
16 // http://oauth.net/core/1.0/#signing_process 16 // http://oauth.net/core/1.0/#signing_process
17 // 17 //
18 // NOTE: Currently the only supported SignatureMethod is HMAC_SHA1_SIGNATURE 18 // NOTE: Currently the only supported SignatureMethod is HMAC_SHA1_SIGNATURE
19 class OAuthRequestSigner { 19 class OAuthRequestSigner {
20 public: 20 public:
21 enum SignatureMethod { 21 enum SignatureMethod {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const std::string& consumer_secret, 91 const std::string& consumer_secret,
92 const std::string& token_key, 92 const std::string& token_key,
93 const std::string& token_secret, 93 const std::string& token_secret,
94 std::string* signed_result); 94 std::string* signed_result);
95 95
96 private: 96 private:
97 DISALLOW_IMPLICIT_CONSTRUCTORS(OAuthRequestSigner); 97 DISALLOW_IMPLICIT_CONSTRUCTORS(OAuthRequestSigner);
98 }; 98 };
99 99
100 #endif // GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_ 100 #endif // GOOGLE_APIS_GAIA_OAUTH_REQUEST_SIGNER_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_token_service_unittest.cc ('k') | google_apis/gaia/oauth_request_signer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698