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

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: Rename method used for testing 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
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/chrome_browser_provider.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4b11a5502daf0fb008cbc7fdc041d0daa1b9a304 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();
+ // Sets the current instance of Chrome identity service. Used for testing.
+ virtual void SetChromeIdentityServiceForTesting(
+ std::unique_ptr<ChromeIdentityService> service);
// Returns an instance of a Chrome identity service.
virtual ChromeIdentityService* GetChromeIdentityService();
// Returns an instance of a LiveTabContextProvider.
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698