OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 void ParsedContentType::setContentType(const SubstringRange& contentRange) | 217 void ParsedContentType::setContentType(const SubstringRange& contentRange) |
218 { | 218 { |
219 m_mimeType = substringForRange(m_contentType, contentRange).stripWhiteSpace(
); | 219 m_mimeType = substringForRange(m_contentType, contentRange).stripWhiteSpace(
); |
220 } | 220 } |
221 | 221 |
222 void ParsedContentType::setContentTypeParameter(const SubstringRange& key, const
SubstringRange& value) | 222 void ParsedContentType::setContentTypeParameter(const SubstringRange& key, const
SubstringRange& value) |
223 { | 223 { |
224 m_parameters.set(substringForRange(m_contentType, key), substringForRange(m_
contentType, value)); | 224 m_parameters.set(substringForRange(m_contentType, key), substringForRange(m_
contentType, value)); |
225 } | 225 } |
226 | 226 |
227 } | 227 } // namespace blink |
OLD | NEW |