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

Side by Side Diff: ios/chrome/browser/ui/dialogs/nsurl_protection_space_util.h

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: Cancel overlays on queue deallocation Created 3 years, 6 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 2015 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_CHROME_BROWSER_UI_DIALOGS_NSURL_PROTECTION_SPACE_UTIL_H_
6 #define IOS_CHROME_BROWSER_UI_DIALOGS_NSURL_PROTECTION_SPACE_UTIL_H_
7
8 #import <Foundation/Foundation.h>
9
10 class GURL;
11
12 namespace ios_internal {
13 namespace nsurlprotectionspace_util {
14
15 // Information describing dialog requester used as dialog subtitle.
16 NSString* MessageForHTTPAuth(NSURLProtectionSpace* protectionSpace);
17
18 // Returns YES if dialog can be shown for set |protectionSpace|.
19 BOOL CanShow(NSURLProtectionSpace* protectionSpace);
20
21 // String represending authentication requester (origin URL or hostname).
22 NSString* RequesterIdentity(NSURLProtectionSpace* protectionSpace);
23
24 // URL origin of the dialog requester.
25 GURL RequesterOrigin(NSURLProtectionSpace* protectionSpace);
26
27 } // namespace nsurlprotectionspace_util
28 } // namespace ios_internal
29
30 #endif // IOS_CHROME_BROWSER_UI_DIALOGS_NSURL_PROTECTION_SPACE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698