OLD | NEW |
---|---|
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_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ | 5 #ifndef IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ |
6 #define IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ | 6 #define IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 23 matching lines...) Expand all Loading... | |
34 | 34 |
35 bool IsAuthenticated() override; | 35 bool IsAuthenticated() override; |
36 | 36 |
37 ChromeIdentity* GetAuthenticatedIdentity() override; | 37 ChromeIdentity* GetAuthenticatedIdentity() override; |
38 | 38 |
39 NSString* GetAuthenticatedUserEmail() override; | 39 NSString* GetAuthenticatedUserEmail() override; |
40 | 40 |
41 private: | 41 private: |
42 explicit AuthenticationServiceFake(ios::ChromeBrowserState* browser_state); | 42 explicit AuthenticationServiceFake(ios::ChromeBrowserState* browser_state); |
43 | 43 |
44 base::scoped_nsobject<ChromeIdentity> authenticated_identity_; | 44 ChromeIdentity* authenticated_identity_; |
stkhapugin
2017/06/13 11:45:39
Please annotate with explicit __strong
| |
45 bool have_accounts_changed_; | 45 bool have_accounts_changed_; |
46 }; | 46 }; |
47 | 47 |
48 #endif // IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ | 48 #endif // IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_FAKE_H_ |
OLD | NEW |