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

Side by Side Diff: google_apis/gaia/oauth2_access_token_fetcher_immediate_error.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_IMMEDIATE_ERROR_H_ 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMMEDIATE_ERROR_H_
6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMMEDIATE_ERROR_H_ 6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMMEDIATE_ERROR_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
9 #include "google_apis/gaia/google_service_auth_error.h" 10 #include "google_apis/gaia/google_service_auth_error.h"
10 #include "google_apis/gaia/oauth2_access_token_consumer.h" 11 #include "google_apis/gaia/oauth2_access_token_consumer.h"
11 #include "google_apis/gaia/oauth2_access_token_fetcher.h" 12 #include "google_apis/gaia/oauth2_access_token_fetcher.h"
12 13
13 // This is an implementation of the OAuth2 fetcher that immediately returns 14 // This is an implementation of the OAuth2 fetcher that immediately returns
14 // an error. This is useful as a replacement to a real fetcher when a 15 // an error. This is useful as a replacement to a real fetcher when a
15 // immediate error has previously been seen. 16 // immediate error has previously been seen.
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 }; 56 };
56 57
57 void Fail(); 58 void Fail();
58 59
59 scoped_refptr<FailCaller> failer_; 60 scoped_refptr<FailCaller> failer_;
60 GoogleServiceAuthError immediate_error_; 61 GoogleServiceAuthError immediate_error_;
61 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImmediateError); 62 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImmediateError);
62 }; 63 };
63 64
64 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMMEDIATE_ERROR_H_ 65 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMMEDIATE_ERROR_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_access_token_fetcher.h ('k') | google_apis/gaia/oauth2_access_token_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698