blob: c1cb9d18f1b95083f1bb9ba284de07851185aa43 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_MAIN_TEST_STUB_BROWSER_INTERFACE_H_
#define IOS_CHROME_BROWSER_UI_MAIN_TEST_STUB_BROWSER_INTERFACE_H_
#import <Foundation/Foundation.h>
#import "ios/chrome/browser/ui/main/browser_interface_provider.h"
class Browser;
@class BrowserViewController;
class ChromeBrowserState;
@protocol SyncPresenter;
// Test double for BrowserInterface implementors. All properties are writable,
// and have nil, nullptr, or NO as default values.
@interface StubBrowserInterface : NSObject <BrowserInterface>
@property(nonatomic, readwrite) UIViewController* viewController;
@property(nonatomic, readwrite) BrowserViewController* bvc;
@property(nonatomic, readwrite) id<SyncPresenter> syncPresenter;
@property(nonatomic, readwrite) Browser* browser;
@property(nonatomic, readwrite) ChromeBrowserState* browserState;
@property(nonatomic, readwrite) BOOL incognito;
@property(nonatomic, readwrite) BOOL playingTTS;
@end
#endif // IOS_CHROME_BROWSER_UI_MAIN_TEST_STUB_BROWSER_INTERFACE_H_