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

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

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
6 #define CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_ 6 #define CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 // Construct on the IO thread. 23 // Construct on the IO thread.
24 SSLCertErrorHandler(ResourceDispatcherHost* rdh, 24 SSLCertErrorHandler(ResourceDispatcherHost* rdh,
25 net::URLRequest* request, 25 net::URLRequest* request,
26 ResourceType::Type resource_type, 26 ResourceType::Type resource_type,
27 const std::string& frame_origin, 27 const std::string& frame_origin,
28 const std::string& main_frame_origin, 28 const std::string& main_frame_origin,
29 int cert_error, 29 int cert_error,
30 net::X509Certificate* cert); 30 net::X509Certificate* cert);
31 31
32 virtual SSLCertErrorHandler* AsSSLCertErrorHandler() { return this; } 32 virtual SSLCertErrorHandler* AsSSLCertErrorHandler();
33 33
34 // These accessors are available on either thread 34 // These accessors are available on either thread
35 const net::SSLInfo& ssl_info() const { return ssl_info_; } 35 const net::SSLInfo& ssl_info() const { return ssl_info_; }
36 int cert_error() const { return cert_error_; } 36 int cert_error() const { return cert_error_; }
37 37
38 protected: 38 protected:
39 // SSLErrorHandler methods 39 // SSLErrorHandler methods
40 virtual void OnDispatchFailed(); 40 virtual void OnDispatchFailed();
41 virtual void OnDispatched(); 41 virtual void OnDispatched();
42 42
43 private: 43 private:
44 virtual ~SSLCertErrorHandler(); 44 virtual ~SSLCertErrorHandler();
45 45
46 // These read-only members may be accessed on any thread. 46 // These read-only members may be accessed on any thread.
47 net::SSLInfo ssl_info_; 47 net::SSLInfo ssl_info_;
48 const int cert_error_; // The error we represent. 48 const int cert_error_; // The error we represent.
49 49
50 DISALLOW_COPY_AND_ASSIGN(SSLCertErrorHandler); 50 DISALLOW_COPY_AND_ASSIGN(SSLCertErrorHandler);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_ 53 #endif // CHROME_BROWSER_SSL_SSL_CERT_ERROR_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc ('k') | chrome/browser/ssl/ssl_cert_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698