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

Side by Side Diff: chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
14 #include "base/mac/scoped_nsobject.h" 14 #include "base/mac/scoped_nsobject.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "chrome/browser/ssl/ssl_client_certificate_selector.h" 16 #include "chrome/browser/ssl/ssl_client_certificate_selector.h"
17 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sh eet.h" 17 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sh eet.h"
18 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_con troller.h" 18 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_con troller.h"
19 19
20 namespace content { 20 namespace content {
21 class BrowserContext; 21 class BrowserContext;
22 class ClientCertificateDelegate; 22 class ClientCertificateDelegate;
23 } 23 }
24 24
25 namespace net {
26 class X509Certificate;
27 }
28
25 class ConstrainedWindowMac; 29 class ConstrainedWindowMac;
26 @class SFChooseIdentityPanel; 30 @class SFChooseIdentityPanel;
27 class SSLClientAuthObserverCocoaBridge; 31 class SSLClientAuthObserverCocoaBridge;
28 32
29 @interface SSLClientCertificateSelectorCocoa 33 @interface SSLClientCertificateSelectorCocoa
30 : NSObject<ConstrainedWindowSheet> { 34 : NSObject<ConstrainedWindowSheet> {
31 @private 35 @private
32 // The list of identities offered to the user. 36 // The list of identities offered to the user.
33 base::ScopedCFTypeRef<CFMutableArrayRef> identities_; 37 base::ScopedCFTypeRef<CFMutableArrayRef> identities_;
34 // The corresponding list of certificates. 38 // The corresponding list of certificates.
(...skipping 22 matching lines...) Expand all
57 (std::unique_ptr<content::ClientCertificateDelegate>) 61 (std::unique_ptr<content::ClientCertificateDelegate>)
58 delegate; 62 delegate;
59 - (void)displayForWebContents:(content::WebContents*)webContents; 63 - (void)displayForWebContents:(content::WebContents*)webContents;
60 - (void)closeWebContentsModalDialog; 64 - (void)closeWebContentsModalDialog;
61 65
62 - (NSWindow*)overlayWindow; 66 - (NSWindow*)overlayWindow;
63 67
64 @end 68 @end
65 69
66 #endif // CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_ 70 #endif // CHROME_BROWSER_UI_COCOA_SSL_CLIENT_CERTIFICATE_SELECTOR_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.h ('k') | chrome/browser/ui/cocoa/task_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698