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

Unified Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 2274163002: Allow ChromeIdentityService in ChromeBrowserProvider to be overriden. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/public/provider/chrome/browser/chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/chrome_browser_provider.h b/ios/public/provider/chrome/browser/chrome_browser_provider.h
index 271cf814954b5b726f445f8648c350816ff65423..88c57817b842173b00aa389b0d9d408fc824fa18 100644
--- a/ios/public/provider/chrome/browser/chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/chrome_browser_provider.h
@@ -80,6 +80,9 @@ class ChromeBrowserProvider {
InfoBarViewDelegate* delegate) NS_RETURNS_RETAINED;
// Returns an instance of a signin resources provider.
virtual SigninResourcesProvider* GetSigninResourcesProvider();
+ // Overrides the current instance of Chrome identity service.
+ virtual void SetChromeIdentityService(
rohitrao (ping after 24h) 2016/08/29 14:16:36 Perhaps calls this SetChromeIdentityServiceForTest
bzanotti 2016/08/29 14:31:47 Done.
+ std::unique_ptr<ChromeIdentityService> service);
// Returns an instance of a Chrome identity service.
virtual ChromeIdentityService* GetChromeIdentityService();
// Returns an instance of a LiveTabContextProvider.

Powered by Google App Engine
This is Rietveld 408576698