OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_HTTP_AUTH_DIALOGS_HTTP_AUTH_DIALOG_M
EDIATOR_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_HTTP_AUTH_DIALOGS_HTTP_AUTH_DIALOG_M
EDIATOR_H_ |
| 7 |
| 8 #import "ios/clean/chrome/browser/ui/dialogs/dialog_mediator.h" |
| 9 |
| 10 @protocol HTTPAuthDialogDismissalCommands; |
| 11 @class HTTPAuthDialogRequest; |
| 12 |
| 13 // Class responsible for setting up a DialogConsumer for HTTP auth dialogs. |
| 14 @interface HTTPAuthDialogMediator : DialogMediator |
| 15 |
| 16 // Designated initializer for a mediator that uses |request| to provide datat to |
| 17 // consumers, and |dispatcher| to communicate HTTP auth dismissal commands. |
| 18 // Both are expected to be non-nil. |
| 19 - (instancetype)initWithRequest:(HTTPAuthDialogRequest*)request |
| 20 dispatcher:(id<HTTPAuthDialogDismissalCommands>)dispatcher |
| 21 NS_DESIGNATED_INITIALIZER; |
| 22 - (instancetype)init NS_UNAVAILABLE; |
| 23 |
| 24 @end |
| 25 |
| 26 #endif // IOS_CLEAN_CHROME_BROWSER_UI_DIALOGS_HTTP_AUTH_DIALOGS_HTTP_AUTH_DIALO
G_MEDIATOR_H_ |
OLD | NEW |