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

Side by Side Diff: components/signin/core/browser/profile_oauth2_token_service.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_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
11 #include "components/keyed_service/core/keyed_service.h" 12 #include "components/keyed_service/core/keyed_service.h"
12 #include "google_apis/gaia/oauth2_token_service.h" 13 #include "google_apis/gaia/oauth2_token_service.h"
13 #include "google_apis/gaia/oauth2_token_service_delegate.h" 14 #include "google_apis/gaia/oauth2_token_service_delegate.h"
14 #include "net/base/backoff_entry.h" 15 #include "net/base/backoff_entry.h"
15 16
16 // ProfileOAuth2TokenService is a KeyedService that retrieves 17 // ProfileOAuth2TokenService is a KeyedService that retrieves
17 // OAuth2 access tokens for a given set of scopes using the OAuth2 login 18 // OAuth2 access tokens for a given set of scopes using the OAuth2 login
18 // refresh tokens. 19 // refresh tokens.
19 // 20 //
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const net::BackoffEntry* GetDelegateBackoffEntry(); 61 const net::BackoffEntry* GetDelegateBackoffEntry();
61 62
62 private: 63 private:
63 void OnRefreshTokenAvailable(const std::string& account_id) override; 64 void OnRefreshTokenAvailable(const std::string& account_id) override;
64 void OnRefreshTokenRevoked(const std::string& account_id) override; 65 void OnRefreshTokenRevoked(const std::string& account_id) override;
65 66
66 DISALLOW_COPY_AND_ASSIGN(ProfileOAuth2TokenService); 67 DISALLOW_COPY_AND_ASSIGN(ProfileOAuth2TokenService);
67 }; 68 };
68 69
69 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_ 70 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698