diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 23:11:19 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 23:11:19 +0000 |
commit | 9b2331d912b0a15c3eef290eaa617c54a87dc68e (patch) | |
tree | 6ca5f0248ce754b74b39112c17c2d9726c004e79 /net/http | |
parent | 9f1e5d235d5bdb3a0fe626fe47f5468cddaf75e4 (diff) | |
download | chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.zip chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.gz chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.bz2 |
Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.
Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later.
(Shaves ~2MB off Linux Debug .a files)
BUG=none
TEST=compiles
First Review URL: http://codereview.chromium.org/3563004
Review URL: http://codereview.chromium.org/3621003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_request_info.cc | 17 | ||||
-rw-r--r-- | net/http/http_request_info.h | 8 |
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; |