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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/fetch/FetchHeaderList.h" 5 #include "modules/fetch/FetchHeaderList.h"
6 6
7 #include <algorithm>
7 #include "platform/loader/fetch/FetchUtils.h" 8 #include "platform/loader/fetch/FetchUtils.h"
8 #include "platform/network/HTTPParsers.h" 9 #include "platform/network/HTTPParsers.h"
9 #include "wtf/PtrUtil.h" 10 #include "platform/wtf/PtrUtil.h"
10 #include <algorithm>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 FetchHeaderList* FetchHeaderList::Create() { 14 FetchHeaderList* FetchHeaderList::Create() {
15 return new FetchHeaderList(); 15 return new FetchHeaderList();
16 } 16 }
17 17
18 FetchHeaderList* FetchHeaderList::Clone() const { 18 FetchHeaderList* FetchHeaderList::Clone() const {
19 FetchHeaderList* list = Create(); 19 FetchHeaderList* list = Create();
20 for (size_t i = 0; i < header_list_.size(); ++i) 20 for (size_t i = 0; i < header_list_.size(); ++i)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return IsValidHTTPToken(name); 162 return IsValidHTTPToken(name);
163 } 163 }
164 164
165 bool FetchHeaderList::IsValidHeaderValue(const String& value) { 165 bool FetchHeaderList::IsValidHeaderValue(const String& value) {
166 // "A value is a byte sequence that matches the field-value token production 166 // "A value is a byte sequence that matches the field-value token production
167 // and contains no 0x0A or 0x0D bytes." 167 // and contains no 0x0A or 0x0D bytes."
168 return IsValidHTTPHeaderValue(value); 168 return IsValidHTTPHeaderValue(value);
169 } 169 }
170 170
171 } // namespace blink 171 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchHeaderList.h ('k') | third_party/WebKit/Source/modules/fetch/FetchManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698