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

Side by Side Diff: ios/clean/chrome/browser/ui/dialogs/http_auth_dialogs/http_auth_dialog_mediator.h

Issue 2930763003: [iOS Clean] Added HTTP authentication dialog support.
Patch Set: rebase && Mark's comments Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698