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

Side by Side Diff: google_apis/gaia/ubertoken_fetcher.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 5 years 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
« no previous file with comments | « google_apis/gaia/oauth_request_signer.cc ('k') | google_apis/gcm/base/mcs_message.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UBERTOKEN_FETCHER_H_ 5 #ifndef GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_
6 #define GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_ 6 #define GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
10 #include "google_apis/gaia/gaia_auth_consumer.h" 11 #include "google_apis/gaia/gaia_auth_consumer.h"
11 #include "google_apis/gaia/oauth2_token_service.h" 12 #include "google_apis/gaia/oauth2_token_service.h"
12 13
13 // Allow to retrieves an uber-auth token for the user. This class uses the 14 // Allow to retrieves an uber-auth token for the user. This class uses the
14 // |OAuth2TokenService| and considers that the user is already logged in. It 15 // |OAuth2TokenService| and considers that the user is already logged in. It
15 // will use the OAuth2 access token to generate the uber-auth token. 16 // will use the OAuth2 access token to generate the uber-auth token.
16 // 17 //
17 // This class should be used on a single thread, but it can be whichever thread 18 // This class should be used on a single thread, but it can be whichever thread
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 std::string account_id_; 92 std::string account_id_;
92 std::string access_token_; 93 std::string access_token_;
93 int retry_number_; 94 int retry_number_;
94 base::OneShotTimer retry_timer_; 95 base::OneShotTimer retry_timer_;
95 bool second_access_token_request_; 96 bool second_access_token_request_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(UbertokenFetcher); 98 DISALLOW_COPY_AND_ASSIGN(UbertokenFetcher);
98 }; 99 };
99 100
100 #endif // GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_ 101 #endif // GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth_request_signer.cc ('k') | google_apis/gcm/base/mcs_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698