| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
| 12 #include "base/memory/ref_counted.h" |
| 12 #include "content/browser/renderer_host/render_view_host_delegate.h" | 13 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 13 | 14 |
| 14 class SSLAddCertHandler; | 15 class SSLAddCertHandler; |
| 15 class SSLClientAuthHandler; | 16 class SSLClientAuthHandler; |
| 16 class TabContentsWrapper; | 17 class TabContentsWrapper; |
| 17 | 18 |
| 18 class TabContentsSSLHelper { | 19 class TabContentsSSLHelper { |
| 19 public: | 20 public: |
| 20 explicit TabContentsSSLHelper(TabContentsWrapper* tab_contents); | 21 explicit TabContentsSSLHelper(TabContentsWrapper* tab_contents); |
| 21 virtual ~TabContentsSSLHelper(); | 22 virtual ~TabContentsSSLHelper(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 60 |
| 60 class SSLAddCertData; | 61 class SSLAddCertData; |
| 61 std::map<int, linked_ptr<SSLAddCertData> > request_id_to_add_cert_data_; | 62 std::map<int, linked_ptr<SSLAddCertData> > request_id_to_add_cert_data_; |
| 62 | 63 |
| 63 SSLAddCertData* GetAddCertData(SSLAddCertHandler* handler); | 64 SSLAddCertData* GetAddCertData(SSLAddCertHandler* handler); |
| 64 | 65 |
| 65 DISALLOW_COPY_AND_ASSIGN(TabContentsSSLHelper); | 66 DISALLOW_COPY_AND_ASSIGN(TabContentsSSLHelper); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ | 69 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
| OLD | NEW |