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

Unified Diff: ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm

Issue 2435053003: Revert of Access SigninErrorProvider through ChromeBrowserProvider. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm
diff --git a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm
index 3129e99374069c5e47279ed377f676d0a19623ef..cccccc2f7cc798dc739c08ecb271ea2a8de74bb3 100644
--- a/ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm
+++ b/ios/public/provider/chrome/browser/signin/fake_chrome_identity_interaction_manager.mm
@@ -6,7 +6,6 @@
#include "base/mac/scoped_block.h"
#include "base/mac/scoped_nsobject.h"
-#import "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h"
#include "ios/public/provider/chrome/browser/signin/signin_error_provider.h"
@@ -162,8 +161,7 @@
}
- (NSError*)canceledError {
- ios::SigninErrorProvider* provider =
- ios::GetChromeBrowserProvider()->GetSigninErrorProvider();
+ ios::SigninErrorProvider* provider = ios::GetSigninErrorProvider();
return [NSError errorWithDomain:provider->GetSigninErrorDomain()
code:provider->GetCode(ios::SigninError::CANCELED)
userInfo:nil];
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698