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

Side by Side Diff: ios/public/provider/chrome/browser/signin/chrome_identity_service.mm

Issue 2964383002: [ObjC ARC] Converts ios/public/provider/chrome/browser/signin:signin to ARC. (Closed)
Patch Set: comments Created 3 years, 5 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 #include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h" 5 #include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h"
6 6
7 #include "ios/public/provider/chrome/browser/signin/chrome_identity_interaction_ manager.h" 7 #include "ios/public/provider/chrome/browser/signin/chrome_identity_interaction_ manager.h"
8 8
9 #if !defined(__has_feature) || !__has_feature(objc_arc)
10 #error "This file requires ARC support."
11 #endif
12
9 namespace ios { 13 namespace ios {
10 14
11 ChromeIdentityService::ChromeIdentityService() {} 15 ChromeIdentityService::ChromeIdentityService() {}
12 16
13 ChromeIdentityService::~ChromeIdentityService() { 17 ChromeIdentityService::~ChromeIdentityService() {
14 for (auto& observer : observer_list_) 18 for (auto& observer : observer_list_)
15 observer.OnChromeIdentityServiceWillBeDestroyed(); 19 observer.OnChromeIdentityServiceWillBeDestroyed();
16 } 20 }
17 21
18 void ChromeIdentityService::DismissDialogs() {} 22 void ChromeIdentityService::DismissDialogs() {}
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 for (auto& observer : observer_list_) 142 for (auto& observer : observer_list_)
139 observer.OnAccessTokenRefreshFailed(identity, user_info); 143 observer.OnAccessTokenRefreshFailed(identity, user_info);
140 } 144 }
141 145
142 void ChromeIdentityService::FireProfileDidUpdate(ChromeIdentity* identity) { 146 void ChromeIdentityService::FireProfileDidUpdate(ChromeIdentity* identity) {
143 for (auto& observer : observer_list_) 147 for (auto& observer : observer_list_)
144 observer.OnProfileUpdate(identity); 148 observer.OnProfileUpdate(identity);
145 } 149 }
146 150
147 } // namespace ios 151 } // namespace ios
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698