OLD | NEW |
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_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/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "content/public/browser/render_view_host_delegate.h" | |
15 | 14 |
16 class SSLAddCertHandler; | 15 class SSLAddCertHandler; |
17 class TabContentsWrapper; | 16 class TabContentsWrapper; |
18 | 17 |
19 namespace net { | 18 namespace net { |
20 class HttpNetworkSession; | 19 class HttpNetworkSession; |
21 class SSLCertRequestInfo; | 20 class SSLCertRequestInfo; |
22 class X509Certificate; | 21 class X509Certificate; |
23 } | 22 } |
24 | 23 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 64 |
66 class SSLAddCertData; | 65 class SSLAddCertData; |
67 std::map<int, linked_ptr<SSLAddCertData> > request_id_to_add_cert_data_; | 66 std::map<int, linked_ptr<SSLAddCertData> > request_id_to_add_cert_data_; |
68 | 67 |
69 SSLAddCertData* GetAddCertData(SSLAddCertHandler* handler); | 68 SSLAddCertData* GetAddCertData(SSLAddCertHandler* handler); |
70 | 69 |
71 DISALLOW_COPY_AND_ASSIGN(TabContentsSSLHelper); | 70 DISALLOW_COPY_AND_ASSIGN(TabContentsSSLHelper); |
72 }; | 71 }; |
73 | 72 |
74 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ | 73 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_SSL_HELPER_H_ |
OLD | NEW |