| OLD | NEW |
| 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 namespace ios { | 9 namespace ios { |
| 10 | 10 |
| 11 ChromeIdentityService::ChromeIdentityService() {} | 11 ChromeIdentityService::ChromeIdentityService() {} |
| 12 | 12 |
| 13 ChromeIdentityService::~ChromeIdentityService() { | 13 ChromeIdentityService::~ChromeIdentityService() { |
| 14 FOR_EACH_OBSERVER(Observer, observer_list_, | 14 FOR_EACH_OBSERVER(Observer, observer_list_, |
| 15 OnChromeIdentityServiceWillBeDestroyed()); | 15 OnChromeIdentityServiceWillBeDestroyed()); |
| 16 } | 16 } |
| 17 | 17 |
| 18 void ChromeIdentityService::DismissDialogs() {} |
| 19 |
| 20 bool ChromeIdentityService::HandleApplicationOpenURL(UIApplication* application, |
| 21 NSURL* url, |
| 22 NSDictionary* options) { |
| 23 return false; |
| 24 } |
| 25 |
| 18 base::scoped_nsobject<UINavigationController> | 26 base::scoped_nsobject<UINavigationController> |
| 19 ChromeIdentityService::NewAccountDetails( | 27 ChromeIdentityService::NewAccountDetails( |
| 20 ChromeIdentity* identity, | 28 ChromeIdentity* identity, |
| 21 id<ChromeIdentityBrowserOpener> browser_opener) { | 29 id<ChromeIdentityBrowserOpener> browser_opener) { |
| 22 return base::scoped_nsobject<UINavigationController>(); | 30 return base::scoped_nsobject<UINavigationController>(); |
| 23 } | 31 } |
| 24 | 32 |
| 25 base::scoped_nsobject<UINavigationController> | 33 base::scoped_nsobject<UINavigationController> |
| 26 ChromeIdentityService::NewWebAndAppSettingDetails( | 34 ChromeIdentityService::NewWebAndAppSettingDetails( |
| 27 ChromeIdentity* identity, | 35 ChromeIdentity* identity, |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 NSDictionary* user_info) { | 139 NSDictionary* user_info) { |
| 132 FOR_EACH_OBSERVER(Observer, observer_list_, | 140 FOR_EACH_OBSERVER(Observer, observer_list_, |
| 133 OnAccessTokenRefreshFailed(identity, user_info)); | 141 OnAccessTokenRefreshFailed(identity, user_info)); |
| 134 } | 142 } |
| 135 | 143 |
| 136 void ChromeIdentityService::FireProfileDidUpdate(ChromeIdentity* identity) { | 144 void ChromeIdentityService::FireProfileDidUpdate(ChromeIdentity* identity) { |
| 137 FOR_EACH_OBSERVER(Observer, observer_list_, OnProfileUpdate(identity)); | 145 FOR_EACH_OBSERVER(Observer, observer_list_, OnProfileUpdate(identity)); |
| 138 } | 146 } |
| 139 | 147 |
| 140 } // namespace ios | 148 } // namespace ios |
| OLD | NEW |