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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 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 COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H
6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H 6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h" 10 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h"
10 #include "google_apis/gaia/oauth2_token_service.h" 11 #include "google_apis/gaia/oauth2_token_service.h"
11 12
12 namespace proximity_auth { 13 namespace proximity_auth {
13 14
14 // Implementation of CryptAuthAccessTokenFetcher fetching an access token for a 15 // Implementation of CryptAuthAccessTokenFetcher fetching an access token for a
15 // given account using the provided OAuth2TokenService. 16 // given account using the provided OAuth2TokenService.
16 class CryptAuthAccessTokenFetcherImpl : public CryptAuthAccessTokenFetcher, 17 class CryptAuthAccessTokenFetcherImpl : public CryptAuthAccessTokenFetcher,
17 public OAuth2TokenService::Consumer { 18 public OAuth2TokenService::Consumer {
18 public: 19 public:
(...skipping 28 matching lines...) Expand all
47 48
48 // Callback to invoke when the token fetch succeeds or fails. 49 // Callback to invoke when the token fetch succeeds or fails.
49 AccessTokenCallback callback_; 50 AccessTokenCallback callback_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(CryptAuthAccessTokenFetcherImpl); 52 DISALLOW_COPY_AND_ASSIGN(CryptAuthAccessTokenFetcherImpl);
52 }; 53 };
53 54
54 } // namespace proximity_auth 55 } // namespace proximity_auth
55 56
56 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H 57 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698