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

Side by Side Diff: google_apis/gaia/oauth2_access_token_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 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) 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 #ifndef GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_
6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ 6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "google_apis/gaia/oauth2_access_token_consumer.h" 12 #include "google_apis/gaia/oauth2_access_token_consumer.h"
12 #include "net/url_request/url_fetcher_delegate.h" 13 #include "net/url_request/url_fetcher_delegate.h"
13 14
14 class OAuth2AccessTokenConsumer; 15 class OAuth2AccessTokenConsumer;
15 16
16 // Interface of a OAuth2 access token fetcher. 17 // Interface of a OAuth2 access token fetcher.
17 // 18 //
18 // Usage: 19 // Usage:
19 // * Create an instance with a consumer. 20 // * Create an instance with a consumer.
20 // * Call Start() 21 // * Call Start()
(...skipping 28 matching lines...) Expand all
49 // Fires |OnGetTokenFailure| on |consumer_|. 50 // Fires |OnGetTokenFailure| on |consumer_|.
50 void FireOnGetTokenFailure(const GoogleServiceAuthError& error); 51 void FireOnGetTokenFailure(const GoogleServiceAuthError& error);
51 52
52 private: 53 private:
53 OAuth2AccessTokenConsumer* const consumer_; 54 OAuth2AccessTokenConsumer* const consumer_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcher); 56 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcher);
56 }; 57 };
57 58
58 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ 59 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/mock_url_fetcher_factory.h ('k') | google_apis/gaia/oauth2_access_token_fetcher_immediate_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698