OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
3 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 4 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
5 * Copyright (C) 2009 Google Inc. All rights reserved. | 5 * Copyright (C) 2009 Google Inc. All rights reserved. |
6 * Copyright (C) 2011 Apple Inc. All Rights Reserved. | 6 * Copyright (C) 2011 Apple Inc. All Rights Reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 } | 621 } |
622 | 622 |
623 void parseCommaDelimitedHeader(const String& headerValue, CommaDelimitedHeaderSe
t& headerSet) | 623 void parseCommaDelimitedHeader(const String& headerValue, CommaDelimitedHeaderSe
t& headerSet) |
624 { | 624 { |
625 Vector<String> results; | 625 Vector<String> results; |
626 headerValue.split(",", results); | 626 headerValue.split(",", results); |
627 for (auto& value : results) | 627 for (auto& value : results) |
628 headerSet.add(value.stripWhiteSpace(isWhitespace)); | 628 headerSet.add(value.stripWhiteSpace(isWhitespace)); |
629 } | 629 } |
630 | 630 |
631 } | 631 } // namespace blink |
OLD | NEW |