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

Side by Side Diff: components/signin/ios/browser/fake_profile_oauth2_token_service_ios_provider.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 IOS_TEST_MOCK_PROFILE_OAUTH2_TOKEN_SERVICE_PROVIDER_IOS_H_ 5 #ifndef IOS_TEST_MOCK_PROFILE_OAUTH2_TOKEN_SERVICE_PROVIDER_IOS_H_
6 #define IOS_TEST_MOCK_PROFILE_OAUTH2_TOKEN_SERVICE_PROVIDER_IOS_H_ 6 #define IOS_TEST_MOCK_PROFILE_OAUTH2_TOKEN_SERVICE_PROVIDER_IOS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_provide r.h" 14 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_provide r.h"
14 15
15 // Mock class of ProfileOAuth2TokenServiceIOSProvider for testing. 16 // Mock class of ProfileOAuth2TokenServiceIOSProvider for testing.
16 class FakeProfileOAuth2TokenServiceIOSProvider 17 class FakeProfileOAuth2TokenServiceIOSProvider
17 : public ProfileOAuth2TokenServiceIOSProvider { 18 : public ProfileOAuth2TokenServiceIOSProvider {
18 public: 19 public:
19 FakeProfileOAuth2TokenServiceIOSProvider(); 20 FakeProfileOAuth2TokenServiceIOSProvider();
20 ~FakeProfileOAuth2TokenServiceIOSProvider() override; 21 ~FakeProfileOAuth2TokenServiceIOSProvider() override;
21 22
(...skipping 20 matching lines...) Expand all
42 private: 43 private:
43 typedef std::pair<std::string, AccessTokenCallback> AccessTokenRequest; 44 typedef std::pair<std::string, AccessTokenCallback> AccessTokenRequest;
44 45
45 std::vector<AccountInfo> accounts_; 46 std::vector<AccountInfo> accounts_;
46 std::vector<AccessTokenRequest> requests_; 47 std::vector<AccessTokenRequest> requests_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(FakeProfileOAuth2TokenServiceIOSProvider); 49 DISALLOW_COPY_AND_ASSIGN(FakeProfileOAuth2TokenServiceIOSProvider);
49 }; 50 };
50 51
51 #endif // IOS_TEST_PROVIDER_CHROME_BROWSER_SIGNIN_MOCK_PROFILE_OAUTH2_TOKEN_SER VICE_PROVIDER_IOS_H_ 52 #endif // IOS_TEST_PROVIDER_CHROME_BROWSER_SIGNIN_MOCK_PROFILE_OAUTH2_TOKEN_SER VICE_PROVIDER_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698