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

Side by Side Diff: Source/modules/serviceworkers/FetchHeaderList.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 FetchHeaderList_h 5 #ifndef FetchHeaderList_h
6 #define FetchHeaderList_h 6 #define FetchHeaderList_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "wtf/OwnPtr.h" 9 #include "wtf/OwnPtr.h"
10 #include "wtf/PassRefPtr.h" 10 #include "wtf/PassRefPtr.h"
11 #include "wtf/RefCounted.h" 11 #include "wtf/RefCounted.h"
12 #include "wtf/Vector.h" 12 #include "wtf/Vector.h"
13 #include "wtf/text/WTFString.h" 13 #include "wtf/text/WTFString.h"
14 #include <utility> 14 #include <utility>
15 15
16 namespace WebCore { 16 namespace blink {
17 17
18 class Header; 18 class Header;
19 19
20 // http://fetch.spec.whatwg.org/#terminology-headers 20 // http://fetch.spec.whatwg.org/#terminology-headers
21 class FetchHeaderList FINAL : public RefCountedWillBeGarbageCollectedFinalized<F etchHeaderList> { 21 class FetchHeaderList FINAL : public RefCountedWillBeGarbageCollectedFinalized<F etchHeaderList> {
22 public: 22 public:
23 typedef std::pair<String, String> Header; 23 typedef std::pair<String, String> Header;
24 static PassRefPtrWillBeRawPtr<FetchHeaderList> create(); 24 static PassRefPtrWillBeRawPtr<FetchHeaderList> create();
25 PassRefPtrWillBeRawPtr<FetchHeaderList> createCopy(); 25 PassRefPtrWillBeRawPtr<FetchHeaderList> createCopy();
26 26
(...skipping 18 matching lines...) Expand all
45 static bool isForbiddenHeaderName(const String&); 45 static bool isForbiddenHeaderName(const String&);
46 static bool isForbiddenResponseHeaderName(const String&); 46 static bool isForbiddenResponseHeaderName(const String&);
47 47
48 void trace(Visitor*) { } 48 void trace(Visitor*) { }
49 49
50 private: 50 private:
51 FetchHeaderList(); 51 FetchHeaderList();
52 Vector<OwnPtr<Header> > m_headerList; 52 Vector<OwnPtr<Header> > m_headerList;
53 }; 53 };
54 54
55 } // namespace WebCore 55 } // namespace blink
56 56
57 #endif // FetchHeaderList_h 57 #endif // FetchHeaderList_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.cpp ('k') | Source/modules/serviceworkers/FetchHeaderList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698