summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-22 17:28:43 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-22 17:28:43 +0000
commit38e0898607eea03649b7b07e9cf890af7dc33ac7 (patch)
tree6ac95fd496661a6e0718c349bba089144e0fef09 /chrome/browser/ssl
parent2a9662e31f18f77b856487b7266c70ccede557e0 (diff)
downloadchromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.zip
chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.gz
chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.bz2
FBTF: More dtor deinlining. (Can almost see the end!)
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3962004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl')
-rw-r--r--chrome/browser/ssl/ssl_request_info.cc23
-rw-r--r--chrome/browser/ssl/ssl_request_info.h13
2 files changed, 26 insertions, 10 deletions
diff --git a/chrome/browser/ssl/ssl_request_info.cc b/chrome/browser/ssl/ssl_request_info.cc
new file mode 100644
index 0000000..7ba88b0
--- /dev/null
+++ b/chrome/browser/ssl/ssl_request_info.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ssl/ssl_request_info.h"
+
+SSLRequestInfo::SSLRequestInfo(const GURL& url,
+ ResourceType::Type resource_type,
+ const std::string& frame_origin,
+ const std::string& main_frame_origin,
+ int child_id,
+ int ssl_cert_id,
+ int ssl_cert_status)
+ : url_(url),
+ resource_type_(resource_type),
+ frame_origin_(frame_origin),
+ main_frame_origin_(main_frame_origin),
+ child_id_(child_id),
+ ssl_cert_id_(ssl_cert_id),
+ ssl_cert_status_(ssl_cert_status) {
+}
+
+SSLRequestInfo::~SSLRequestInfo() {}
diff --git a/chrome/browser/ssl/ssl_request_info.h b/chrome/browser/ssl/ssl_request_info.h
index 2ce3e88..dc919cd 100644
--- a/chrome/browser/ssl/ssl_request_info.h
+++ b/chrome/browser/ssl/ssl_request_info.h
@@ -8,6 +8,7 @@
#include <string>
+#include "base/ref_counted.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/resource_type.h"
@@ -22,15 +23,7 @@ class SSLRequestInfo : public base::RefCounted<SSLRequestInfo> {
const std::string& main_frame_origin,
int child_id,
int ssl_cert_id,
- int ssl_cert_status)
- : url_(url),
- resource_type_(resource_type),
- frame_origin_(frame_origin),
- main_frame_origin_(main_frame_origin),
- child_id_(child_id),
- ssl_cert_id_(ssl_cert_id),
- ssl_cert_status_(ssl_cert_status) {
- }
+ int ssl_cert_status);
const GURL& url() const { return url_; }
ResourceType::Type resource_type() const { return resource_type_; }
@@ -43,7 +36,7 @@ class SSLRequestInfo : public base::RefCounted<SSLRequestInfo> {
private:
friend class base::RefCounted<SSLRequestInfo>;
- ~SSLRequestInfo() {}
+ virtual ~SSLRequestInfo();
GURL url_;
ResourceType::Type resource_type_;