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

Unified Diff: net/base/net_util.h

Issue 9296005: Delete net::GetHeaderParamValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Delete net::GetHeaderParamValue Created 8 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/net_util.cc » ('j') | webkit/glue/weburlloader_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.h
===================================================================
--- net/base/net_util.h (revision 119592)
+++ net/base/net_util.h (working copy)
@@ -48,18 +48,6 @@
typedef uint32 FormatUrlType;
typedef uint32 FormatUrlTypes;
-// Used by GetHeaderParamValue to determine how to handle quotes in the value.
-class QuoteRule {
- public:
- enum Type {
- KEEP_OUTER_QUOTES,
- REMOVE_OUTER_QUOTES,
- };
-
- private:
- QuoteRule();
-};
-
// Nothing is ommitted.
NET_EXPORT extern const FormatUrlType kFormatUrlOmitNothing;
@@ -144,13 +132,6 @@
NET_EXPORT std::string GetSpecificHeader(const std::string& headers,
const std::string& name);
-// Return the value of the HTTP response header field's parameter named
-// 'param_name'. Returns the empty string if the parameter is not found or is
-// improperly formatted.
-NET_EXPORT std::string GetHeaderParamValue(const std::string& header,
- const std::string& param_name,
- QuoteRule::Type quote_rule);
-
// TODO(abarth): Move these functions to http_content_disposition.cc.
bool DecodeFilenameValue(const std::string& input,
const std::string& referrer_charset,
« no previous file with comments | « no previous file | net/base/net_util.cc » ('j') | webkit/glue/weburlloader_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698