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

Unified Diff: ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm

Issue 2940063004: Revert of Removes usage of signin APIs that return scoped_nsobjects. (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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm b/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
index ea44570f70575e2d5ec9a84327413b11c6472893..0e38ee80c06753d2dcde6b58960c602978278294 100644
--- a/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
@@ -447,7 +447,7 @@
UINavigationController* settingsDetails =
ios::GetChromeBrowserProvider()
->GetChromeIdentityService()
- ->CreateWebAndAppSettingDetailsController(
+ ->NewWebAndAppSettingDetails(
[self authService]->GetAuthenticatedIdentity(), self);
UIImage* closeIcon = [ChromeIcon closeIcon];
SEL action = @selector(closeGoogleActivitySettings:);
@@ -509,10 +509,9 @@
- (void)showAccountDetails:(ChromeIdentity*)identity {
if ([_alertCoordinator isVisible])
return;
- UIViewController* accountDetails =
- ios::GetChromeBrowserProvider()
- ->GetChromeIdentityService()
- ->CreateAccountDetailsController(identity, self);
+ UIViewController* accountDetails = ios::GetChromeBrowserProvider()
+ ->GetChromeIdentityService()
+ ->NewAccountDetails(identity, self);
if (!accountDetails) {
// Failed to create a new account details. Ignored.
return;

Powered by Google App Engine
This is Rietveld 408576698