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

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

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_SSL_SSL_CERT_ERROR_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
6 #define CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_ 6 #define CONTENT_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/ssl/ssl_error_handler.h" 11 #include "content/browser/ssl/ssl_error_handler.h"
12 #include "net/base/ssl_info.h" 12 #include "net/base/ssl_info.h"
13 13
14 namespace net { 14 namespace net {
15 class X509Certificate; 15 class X509Certificate;
16 } 16 }
17 17
18 // A CertError represents an error that occurred with the certificate in an 18 // A CertError represents an error that occurred with the certificate in an
19 // SSL session. A CertError object exists both on the IO thread and on the UI 19 // SSL session. A CertError object exists both on the IO thread and on the UI
20 // thread and allows us to cancel/continue a request it is associated with. 20 // thread and allows us to cancel/continue a request it is associated with.
21 class SSLCertErrorHandler : public SSLErrorHandler { 21 class SSLCertErrorHandler : public SSLErrorHandler {
(...skipping 19 matching lines...) Expand all
41 private: 41 private:
42 virtual ~SSLCertErrorHandler(); 42 virtual ~SSLCertErrorHandler();
43 43
44 // These read-only members may be accessed on any thread. 44 // These read-only members may be accessed on any thread.
45 net::SSLInfo ssl_info_; 45 net::SSLInfo ssl_info_;
46 const int cert_error_; // The error we represent. 46 const int cert_error_; // The error we represent.
47 47
48 DISALLOW_COPY_AND_ASSIGN(SSLCertErrorHandler); 48 DISALLOW_COPY_AND_ASSIGN(SSLCertErrorHandler);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_ 51 #endif // CONTENT_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_request_info.cc ('k') | content/browser/ssl/ssl_cert_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698