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

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

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 #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"
(...skipping 20 matching lines...) Expand all
31 31
32 size_t size() const; 32 size_t size() const;
33 void remove(const String&); 33 void remove(const String&);
34 bool get(const String&, String&) const; 34 bool get(const String&, String&) const;
35 void getAll(const String&, Vector<String>&) const; 35 void getAll(const String&, Vector<String>&) const;
36 bool has(const String&) const; 36 bool has(const String&) const;
37 void clearList(); 37 void clearList();
38 38
39 bool containsNonSimpleHeader() const; 39 bool containsNonSimpleHeader() const;
40 40
41 const Vector<OwnPtr<Header> >& list() const { return m_headerList; } 41 const Vector<OwnPtr<Header>>& list() const { return m_headerList; }
42 const Header& entry(size_t index) const { return *(m_headerList[index].get() ); } 42 const Header& entry(size_t index) const { return *(m_headerList[index].get() ); }
43 43
44 static bool isValidHeaderName(const String&); 44 static bool isValidHeaderName(const String&);
45 static bool isValidHeaderValue(const String&); 45 static bool isValidHeaderValue(const String&);
46 46
47 void trace(Visitor*) { } 47 void trace(Visitor*) { }
48 48
49 private: 49 private:
50 FetchHeaderList(); 50 FetchHeaderList();
51 Vector<OwnPtr<Header> > m_headerList; 51 Vector<OwnPtr<Header>> m_headerList;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // FetchHeaderList_h 56 #endif // FetchHeaderList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698