| Index: ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h
|
| diff --git a/ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h b/ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h
|
| index 0fc92b4a16765ac05761c81d1d80a3f8fdd3a665..a343b9e9646691cf8945941ca7e9a081b9b6eb37 100644
|
| --- a/ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h
|
| +++ b/ios/chrome/browser/native_app_launcher/native_app_navigation_controller.h
|
| @@ -16,15 +16,24 @@ namespace net {
|
| class URLRequestContextGetter;
|
| } // namespace net
|
|
|
| +namespace web {
|
| +class WebState;
|
| +} // namespace web
|
| +
|
| // NativeAppNavigationController brings up a GAL Infobar if the webpage directs
|
| // it to do so and there are no other circumstances that would suppress its
|
| // display.
|
| @interface NativeAppNavigationController
|
| : NSObject<CRWWebControllerObserver, NativeAppNavigationControllerProtocol>
|
|
|
| -// Designated initializer.
|
| -- (id)initWithRequestContextGetter:(net::URLRequestContextGetter*)context
|
| - tab:(Tab*)tab;
|
| +// Designated initializer. The use of |tab| will be phased out in the future
|
| +// when all the information needed can be fulfilled by |webState|. Use this
|
| +// instead of -init.
|
| +- (instancetype)initWithWebState:(web::WebState*)webState
|
| + requestContextGetter:(net::URLRequestContextGetter*)context
|
| + tab:(Tab*)tab NS_DESIGNATED_INITIALIZER;
|
| +
|
| +- (instancetype)init NS_UNAVAILABLE;
|
|
|
| // Copies the list of applications possibly being installed and register to be
|
| // notified of their installation.
|
|
|