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

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

Issue 2936583002: [ObjC ARC] Converts ios/chrome/browser/ui/authentication:authentication to ARC. (Closed)
Patch Set: Review fixes. 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/authentication/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 5 #ifndef IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
6 #define IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 6 #define IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 19 matching lines...) Expand all
30 ~ChromeIdentityServiceObserverBridge() override; 30 ~ChromeIdentityServiceObserverBridge() override;
31 31
32 private: 32 private:
33 // ios::ChromeIdentityService::Observer implementation. 33 // ios::ChromeIdentityService::Observer implementation.
34 void OnIdentityListChanged() override; 34 void OnIdentityListChanged() override;
35 void OnAccessTokenRefreshFailed(ChromeIdentity* identity, 35 void OnAccessTokenRefreshFailed(ChromeIdentity* identity,
36 NSDictionary* user_info) override; 36 NSDictionary* user_info) override;
37 void OnProfileUpdate(ChromeIdentity* identity) override; 37 void OnProfileUpdate(ChromeIdentity* identity) override;
38 void OnChromeIdentityServiceWillBeDestroyed() override; 38 void OnChromeIdentityServiceWillBeDestroyed() override;
39 39
40 id<ChromeIdentityServiceObserver> observer_; // Weak. |observer_| owns this. 40 __unsafe_unretained id<ChromeIdentityServiceObserver> observer_; // Weak.
41 ScopedObserver<ios::ChromeIdentityService, 41 ScopedObserver<ios::ChromeIdentityService,
42 ChromeIdentityServiceObserverBridge> scoped_observer_; 42 ChromeIdentityServiceObserverBridge> scoped_observer_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(ChromeIdentityServiceObserverBridge); 44 DISALLOW_COPY_AND_ASSIGN(ChromeIdentityServiceObserverBridge);
45 }; 45 };
46 46
47 #endif // IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 47 #endif // IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/authentication/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698