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

Side by Side Diff: components/signin/ios/browser/fake_profile_oauth2_token_service_ios_delegate.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, 11 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 COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELE GATE_H_ 5 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELE GATE_H_
6 #define COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELE GATE_H_ 6 #define COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELE GATE_H_
7 7
8 #include "base/macros.h"
8 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
9 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_delegat e.h" 10 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_delegat e.h"
10 11
11 class FakeProfileOAuth2TokenServiceIOSDelegate 12 class FakeProfileOAuth2TokenServiceIOSDelegate
12 : public ProfileOAuth2TokenServiceIOSDelegate { 13 : public ProfileOAuth2TokenServiceIOSDelegate {
13 public: 14 public:
14 FakeProfileOAuth2TokenServiceIOSDelegate( 15 FakeProfileOAuth2TokenServiceIOSDelegate(
15 SigninClient* client, 16 SigninClient* client,
16 ProfileOAuth2TokenServiceIOSProvider* provider, 17 ProfileOAuth2TokenServiceIOSProvider* provider,
17 AccountTrackerService* account_tracker_service, 18 AccountTrackerService* account_tracker_service,
(...skipping 28 matching lines...) Expand all
46 // ProfileOAuth2TokenService from multiple threads in upstream code. 47 // ProfileOAuth2TokenService from multiple threads in upstream code.
47 base::ThreadChecker thread_checker_; 48 base::ThreadChecker thread_checker_;
48 49
49 // Maps account ids to their refresh token strings. 50 // Maps account ids to their refresh token strings.
50 std::map<std::string, std::string> refresh_tokens_; 51 std::map<std::string, std::string> refresh_tokens_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(FakeProfileOAuth2TokenServiceIOSDelegate); 53 DISALLOW_COPY_AND_ASSIGN(FakeProfileOAuth2TokenServiceIOSDelegate);
53 }; 54 };
54 55
55 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_D ELEGATE_H_ 56 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_D ELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698