mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use multimap type for storing header values (issue #386).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@346 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "include/internal/cef_string_list.h"
|
||||
#include "include/internal/cef_string_map.h"
|
||||
#include "include/internal/cef_string_multimap.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -24,4 +25,11 @@ void transfer_string_map_contents(cef_string_map_t fromMap,
|
||||
void transfer_string_map_contents(const StringMap& fromMap,
|
||||
cef_string_map_t toMap);
|
||||
|
||||
// Copy contents from one map type to another.
|
||||
typedef std::multimap<CefString, CefString> StringMultimap;
|
||||
void transfer_string_multimap_contents(cef_string_multimap_t fromMap,
|
||||
StringMultimap& toMap);
|
||||
void transfer_string_multimap_contents(const StringMultimap& fromMap,
|
||||
cef_string_multimap_t toMap);
|
||||
|
||||
#endif // _TRANSFER_UTIL_H
|
||||
|
Reference in New Issue
Block a user