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

Side by Side Diff: Source/platform/network/HTTPHeaderMap.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/platform/mhtml/MHTMLParser.h ('k') | Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "wtf/HashMap.h" 31 #include "wtf/HashMap.h"
32 #include "wtf/PassOwnPtr.h" 32 #include "wtf/PassOwnPtr.h"
33 #include "wtf/Vector.h" 33 #include "wtf/Vector.h"
34 #include "wtf/text/AtomicString.h" 34 #include "wtf/text/AtomicString.h"
35 #include "wtf/text/AtomicStringHash.h" 35 #include "wtf/text/AtomicStringHash.h"
36 #include "wtf/text/StringHash.h" 36 #include "wtf/text/StringHash.h"
37 #include <utility> 37 #include <utility>
38 38
39 namespace blink { 39 namespace blink {
40 40
41 typedef Vector<std::pair<String, String> > CrossThreadHTTPHeaderMapData; 41 typedef Vector<std::pair<String, String>> CrossThreadHTTPHeaderMapData;
42 42
43 // FIXME: Not every header fits into a map. Notably, multiple Set-Cookie header fields are needed to set multiple cookies. 43 // FIXME: Not every header fits into a map. Notably, multiple Set-Cookie header fields are needed to set multiple cookies.
44 class PLATFORM_EXPORT HTTPHeaderMap { 44 class PLATFORM_EXPORT HTTPHeaderMap {
45 public: 45 public:
46 HTTPHeaderMap(); 46 HTTPHeaderMap();
47 ~HTTPHeaderMap(); 47 ~HTTPHeaderMap();
48 48
49 // Gets a copy of the data suitable for passing to another thread. 49 // Gets a copy of the data suitable for passing to another thread.
50 PassOwnPtr<CrossThreadHTTPHeaderMapData> copyData() const; 50 PassOwnPtr<CrossThreadHTTPHeaderMapData> copyData() const;
51 51
(...skipping 20 matching lines...) Expand all
72 const AtomicString& get(const char*) const; 72 const AtomicString& get(const char*) const;
73 AddResult add(const char* name, const AtomicString& value); 73 AddResult add(const char* name, const AtomicString& value);
74 74
75 private: 75 private:
76 HashMap<AtomicString, AtomicString, CaseFoldingHash> m_headers; 76 HashMap<AtomicString, AtomicString, CaseFoldingHash> m_headers;
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // HTTPHeaderMap_h 81 #endif // HTTPHeaderMap_h
OLDNEW
« no previous file with comments | « Source/platform/mhtml/MHTMLParser.h ('k') | Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698