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

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

Issue 2505953002: [ios] Adds test provider implementations. (Closed)
Patch Set: Fix build file. Created 4 years, 1 month 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/test_chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/test_chrome_browser_provider.h b/ios/public/provider/chrome/browser/test_chrome_browser_provider.h
index aeaec1831831b22f7031bfd952ee8d30d99521ea..30afbfa65077ca5423f360314ec24e2bc7e7e8aa 100644
--- a/ios/public/provider/chrome/browser/test_chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/test_chrome_browser_provider.h
@@ -22,21 +22,29 @@ class TestChromeBrowserProvider : public ChromeBrowserProvider {
static TestChromeBrowserProvider* GetTestProvider();
// ChromeBrowserProvider:
+ InfoBarViewPlaceholder CreateInfoBarView(
+ CGRect frame,
+ InfoBarViewDelegate* delegate) override NS_RETURNS_RETAINED;
SigninResourcesProvider* GetSigninResourcesProvider() override;
void SetChromeIdentityServiceForTesting(
std::unique_ptr<ChromeIdentityService> service) override;
ChromeIdentityService* GetChromeIdentityService() override;
+ LiveTabContextProvider* GetLiveTabContextProvider() override;
UITextField<TextFieldStyling>* CreateStyledTextField(
CGRect frame) const override NS_RETURNS_RETAINED;
NSArray* GetAvailableVoiceSearchLanguages() const override;
VoiceSearchProvider* GetVoiceSearchProvider() const override;
AppDistributionProvider* GetAppDistributionProvider() const override;
OmahaServiceProvider* GetOmahaServiceProvider() const override;
+ std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter>
+ CreateSyncedWindowDelegatesGetter(
+ ios::ChromeBrowserState* browser_state) override;
id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const override;
private:
std::unique_ptr<AppDistributionProvider> app_distribution_provider_;
std::unique_ptr<ChromeIdentityService> chrome_identity_service_;
+ std::unique_ptr<LiveTabContextProvider> live_tab_context_provider_;
std::unique_ptr<OmahaServiceProvider> omaha_service_provider_;
std::unique_ptr<SigninResourcesProvider> signin_resources_provider_;
std::unique_ptr<VoiceSearchProvider> voice_search_provider_;

Powered by Google App Engine
This is Rietveld 408576698