diff options
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; |