Home
last modified time | relevance | path

Searched refs:headersMap (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DResponseTest.cpp67 WTF::HashMap<String, String> headersMap; in TEST_F() local
69 headersMap.add(headers[i].key, headers[i].value); in TEST_F()
70 EXPECT_EQ(headersMap.size(), responseHeaders->size()); in TEST_F()
71 …for (WTF::HashMap<String, String>::iterator iter = headersMap.begin(); iter != headersMap.end(); +… in TEST_F()
DRequestTest.cpp82 WTF::HashMap<String, String> headersMap; in TEST_F() local
84 headersMap.add(headers[i].key, headers[i].value); in TEST_F()
85 EXPECT_EQ(headersMap.size(), requestHeaders->size()); in TEST_F()
86 …for (WTF::HashMap<String, String>::iterator iter = headersMap.begin(); iter != headersMap.end(); +… in TEST_F()
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DMediaPlayerBridge.java144 HashMap<String, String> headersMap = new HashMap<String, String>(); in setDataSource() local
145 if (hideUrlLog) headersMap.put("x-hide-urls-from-log", "true"); in setDataSource()
146 if (!TextUtils.isEmpty(cookies)) headersMap.put("Cookie", cookies); in setDataSource()
147 if (!TextUtils.isEmpty(userAgent)) headersMap.put("User-Agent", userAgent); in setDataSource()
152 headersMap.put("allow-cross-domain-redirect", "false"); in setDataSource()
155 getLocalPlayer().setDataSource(context, uri, headersMap); in setDataSource()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DMediaResourceGetter.java243 Map<String, String> headersMap = new HashMap<String, String>(); in configure() local
245 headersMap.put("Cookie", cookies); in configure()
248 headersMap.put("User-Agent", userAgent); in configure()
251 configure(url, headersMap); in configure()
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
DChromiumUrlRequest.java624 private void onAppendResponseHeader(ResponseHeadersMap headersMap, in onAppendResponseHeader() argument
627 if (!headersMap.containsKey(name)) { in onAppendResponseHeader()
628 headersMap.put(name, new ArrayList<String>()); in onAppendResponseHeader()
630 headersMap.get(name).add(value); in onAppendResponseHeader()
/external/chromium_org/components/cronet/android/
Dchromium_url_request.cc360 jobject headersMap) { in GetAllHeaders() argument
379 env, object, headersMap, name.Release(), value.Release()); in GetAllHeaders()
387 env, object, headersMap, NULL, status_line.Release()); in GetAllHeaders()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DNetworkManager.js158 _headersMapToHeadersArray: function(headersMap) argument
161 for (var name in headersMap) {
162 var values = headersMap[name].split("\n");