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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/Headers.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/Headers.h" 5 #include "modules/fetch/Headers.h"
6 6
7 #include "bindings/core/v8/Dictionary.h" 7 #include "bindings/core/v8/Dictionary.h"
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/V8IteratorResultValue.h" 9 #include "bindings/core/v8/V8IteratorResultValue.h"
10 #include "core/dom/Iterator.h" 10 #include "core/dom/Iterator.h"
11 #include "platform/loader/fetch/FetchUtils.h" 11 #include "platform/loader/fetch/FetchUtils.h"
12 #include "wtf/NotFound.h" 12 #include "platform/wtf/NotFound.h"
13 #include "wtf/PassRefPtr.h" 13 #include "platform/wtf/PassRefPtr.h"
14 #include "wtf/RefPtr.h" 14 #include "platform/wtf/RefPtr.h"
15 #include "wtf/text/WTFString.h" 15 #include "platform/wtf/text/WTFString.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 namespace { 19 namespace {
20 20
21 class HeadersIterationSource final 21 class HeadersIterationSource final
22 : public PairIterable<String, String>::IterationSource { 22 : public PairIterable<String, String>::IterationSource {
23 public: 23 public:
24 explicit HeadersIterationSource(const FetchHeaderList* headers) 24 explicit HeadersIterationSource(const FetchHeaderList* headers)
25 : headers_(headers->Clone()), current_(0) { 25 : headers_(headers->Clone()), current_(0) {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 visitor->Trace(header_list_); 321 visitor->Trace(header_list_);
322 } 322 }
323 323
324 PairIterable<String, String>::IterationSource* Headers::StartIteration( 324 PairIterable<String, String>::IterationSource* Headers::StartIteration(
325 ScriptState*, 325 ScriptState*,
326 ExceptionState&) { 326 ExceptionState&) {
327 return new HeadersIterationSource(header_list_); 327 return new HeadersIterationSource(header_list_);
328 } 328 }
329 329
330 } // namespace blink 330 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698