summaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 21:23:00 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 21:23:00 +0000
commit763f848ffbd28b22a6c2aa32bf28184d9c17b366 (patch)
treec6e662f3b95f1b52866c840a96d8ce02a75032cd /net/http
parent314feb0bc9a98d6ea9cfb576485bf82dd07ffe84 (diff)
downloadchromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.zip
chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.gz
chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.bz2
FBTF: Another big ctor/dtor cleanup found by automated tools.
(Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r--net/http/http_request_info.cc17
-rw-r--r--net/http/http_request_info.h8
2 files changed, 19 insertions, 6 deletions
diff --git a/net/http/http_request_info.cc b/net/http/http_request_info.cc
new file mode 100644
index 0000000..8ab3096
--- /dev/null
+++ b/net/http/http_request_info.cc
@@ -0,0 +1,17 @@
+// 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 "net/http/http_request_info.h"
+
+namespace net {
+
+HttpRequestInfo::HttpRequestInfo()
+ : load_flags(0),
+ priority(LOWEST),
+ motivation(NORMAL_MOTIVATION) {
+}
+
+HttpRequestInfo::~HttpRequestInfo() {}
+
+} // namespace net
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index 3c072c0..f740d7c 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -16,7 +16,6 @@
namespace net {
struct HttpRequestInfo {
- public:
enum RequestMotivation{
// TODO(mbelshe): move these into Client Socket.
PRECONNECT_MOTIVATED, // This request was motivated by a prefetch.
@@ -24,11 +23,8 @@ struct HttpRequestInfo {
NORMAL_MOTIVATION // No special motivation associated with the request.
};
- HttpRequestInfo()
- : load_flags(0),
- priority(LOWEST),
- motivation(NORMAL_MOTIVATION) {
- }
+ HttpRequestInfo();
+ ~HttpRequestInfo();
// The requested URL.
GURL url;