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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/Headers.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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 #ifndef Headers_h 5 #ifndef Headers_h
6 #define Headers_h 6 #define Headers_h
7 7
8 #include "bindings/core/v8/Iterable.h" 8 #include "bindings/core/v8/Iterable.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/ScriptWrappable.h" 10 #include "bindings/core/v8/ScriptWrappable.h"
11 #include "modules/ModulesExport.h" 11 #include "modules/ModulesExport.h"
12 #include "modules/fetch/FetchHeaderList.h" 12 #include "modules/fetch/FetchHeaderList.h"
13 #include "wtf/Forward.h" 13 #include "wtf/Forward.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class Dictionary; 17 class Dictionary;
18 class ExceptionState; 18 class ExceptionState;
19 class Iterator;
20 19
21 // http://fetch.spec.whatwg.org/#headers-class 20 // http://fetch.spec.whatwg.org/#headers-class
22 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, 21 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>,
23 public ScriptWrappable, 22 public ScriptWrappable,
24 public PairIterable<String, String> { 23 public PairIterable<String, String> {
25 DEFINE_WRAPPERTYPEINFO(); 24 DEFINE_WRAPPERTYPEINFO();
26 25
27 public: 26 public:
28 enum Guard { 27 enum Guard {
29 ImmutableGuard, 28 ImmutableGuard,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 69
71 Member<FetchHeaderList> m_headerList; 70 Member<FetchHeaderList> m_headerList;
72 Guard m_guard; 71 Guard m_guard;
73 72
74 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 73 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
75 }; 74 };
76 75
77 } // namespace blink 76 } // namespace blink
78 77
79 #endif // Headers_h 78 #endif // Headers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698