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

Side by Side Diff: ios/chrome/browser/signin/authentication_service_fake.h

Issue 2930303002: [ObjC ARC] Converts ios/chrome/browser/signin:test_support to ARC. (Closed)
Patch Set: Created 3 years, 6 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_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
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/signin/BUILD.gn ('k') | ios/chrome/browser/signin/authentication_service_fake.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698