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

Side by Side Diff: content/browser/ssl/ssl_host_state.h

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_
6 #define CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_ 6 #define CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_
7 7
8 #include <string>
9 #include <map> 8 #include <map>
10 #include <set> 9 #include <set>
10 #include <string>
11 11
12 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/basictypes.h"
14 #include "base/supports_user_data.h" 14 #include "base/supports_user_data.h"
15 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "net/base/x509_certificate.h" 18 #include "net/cert/x509_certificate.h"
19 19
20 namespace content { 20 namespace content {
21 class BrowserContext; 21 class BrowserContext;
22 22
23 // SSLHostState 23 // SSLHostState
24 // 24 //
25 // The SSLHostState encapulates the host-specific state for SSL errors. For 25 // The SSLHostState encapulates the host-specific state for SSL errors. For
26 // example, SSLHostState remembers whether the user has whitelisted a 26 // example, SSLHostState remembers whether the user has whitelisted a
27 // particular broken cert for use with particular host. We separate this state 27 // particular broken cert for use with particular host. We separate this state
28 // from the SSLManager because this state is shared across many navigation 28 // from the SSLManager because this state is shared across many navigation
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Certificate policies for each host. 69 // Certificate policies for each host.
70 std::map<std::string, net::CertPolicy> cert_policy_for_host_; 70 std::map<std::string, net::CertPolicy> cert_policy_for_host_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(SSLHostState); 72 DISALLOW_COPY_AND_ASSIGN(SSLHostState);
73 }; 73 };
74 74
75 } // namespace content 75 } // namespace content
76 76
77 #endif // CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_ 77 #endif // CONTENT_BROWSER_SSL_SSL_HOST_STATE_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698