OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
| 7 |
| 8 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 9 |
| 10 class SSLClientAuthHandler; |
| 11 class TabContents; |
| 12 |
| 13 class TabContentsSSLHelper : public RenderViewHostDelegate::SSL { |
| 14 public: |
| 15 explicit TabContentsSSLHelper(TabContents* tab_contents); |
| 16 virtual ~TabContentsSSLHelper(); |
| 17 |
| 18 // RenderViewHostDelegate::SSL implementation: |
| 19 virtual void ShowClientCertificateRequestDialog( |
| 20 scoped_refptr<SSLClientAuthHandler> handler); |
| 21 |
| 22 private: |
| 23 TabContents* tab_contents_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(TabContentsSSLHelper); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
OLD | NEW |