Home
last modified time | relevance | path

Searched refs:m_headers (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/network/
DHTTPHeaderMap.h58 size_t size() const { return m_headers.size(); } in size()
59 const_iterator begin() const { return m_headers.begin(); } in begin()
60 const_iterator end() const { return m_headers.end(); } in end()
61 const_iterator find(const AtomicString &k) const { return m_headers.find(k); } in find()
62 void clear() { m_headers.clear(); } in clear()
63 const AtomicString& get(const AtomicString& k) const { return m_headers.get(k); } in get()
64 AddResult set(const AtomicString& k, const AtomicString& v) { return m_headers.set(k, v); } in set()
65 AddResult add(const AtomicString& k, const AtomicString& v) { return m_headers.add(k, v); } in add()
66 void remove(const AtomicString& k) { m_headers.remove(k); } in remove()
67 bool operator!=(const HTTPHeaderMap& rhs) const { return m_headers != rhs.m_headers; }
[all …]
DHTTPHeaderMap.cpp86 const_iterator i = m_headers.find<CaseFoldingCStringTranslator>(name); in get()
94 return m_headers.find<CaseFoldingCStringTranslator>(name) != end(); in contains()
99 return m_headers.add<CaseFoldingCStringTranslator>(name, value); in add()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DRawResource.cpp132 DEFINE_STATIC_LOCAL(HashSet<AtomicString>, m_headers, ()); in shouldIgnoreHeaderForCacheReuse()
133 if (m_headers.isEmpty()) { in shouldIgnoreHeaderForCacheReuse()
134 m_headers.add("Cache-Control"); in shouldIgnoreHeaderForCacheReuse()
135 m_headers.add("If-Modified-Since"); in shouldIgnoreHeaderForCacheReuse()
136 m_headers.add("If-None-Match"); in shouldIgnoreHeaderForCacheReuse()
137 m_headers.add("Origin"); in shouldIgnoreHeaderForCacheReuse()
138 m_headers.add("Pragma"); in shouldIgnoreHeaderForCacheReuse()
139 m_headers.add("Purpose"); in shouldIgnoreHeaderForCacheReuse()
140 m_headers.add("Referer"); in shouldIgnoreHeaderForCacheReuse()
141 m_headers.add("User-Agent"); in shouldIgnoreHeaderForCacheReuse()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DResponse.cpp112 r->m_headers->fillWith(responseInit.headers.get(), exceptionState); in create()
120 r->m_headers->fillWith(responseInit.headersDictionary, exceptionState); in create()
210 return m_headers; in headers()
226 , m_headers(Headers::create(m_response->headerList())) in Response()
228 m_headers->setGuard(Headers::ResponseGuard); in Response()
234 , m_headers(copy_from.m_headers->createCopy()) in Response()
241 , m_headers(Headers::create(m_response->headerList())) in Response()
243 m_headers->setGuard(Headers::ResponseGuard); in Response()
250 , m_headers(createHeadersFromWebResponse(webResponse)) in Response()
252 m_headers->setGuard(Headers::ResponseGuard); in Response()
[all …]
DRequest.cpp229 , m_headers(Headers::create(m_request->headerList())) in Request()
231 m_headers->setGuard(Headers::RequestGuard); in Request()
251 , m_headers(Headers::create(m_request->headerList())) in Request()
253 m_headers->setGuard(Headers::RequestGuard); in Request()
259 , m_headers(copy_from.m_headers->createCopy()) in Request()
331 m_headers->forEach(new FillWebRequestHeaders(&webRequest)); in populateWebServiceWorkerRequest()
356 visitor->trace(m_headers); in trace()
DRequest.h44 Headers* headers() const { return m_headers; } in headers()
68 const Member<Headers> m_headers; variable
DResponse.h60 const Member<Headers> m_headers; variable
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebServiceWorkerRequest.cpp20 HTTPHeaderMap m_headers; member in blink::WebServiceWorkerRequestPrivate
65 m_private->m_headers.set(key, value); in setHeader()
72 HTTPHeaderMap::AddResult result = m_private->m_headers.add(key, value); in appendHeader()
79 …for (HTTPHeaderMap::const_iterator i = m_private->m_headers.begin(), end = m_private->m_headers.en… in visitHTTPHeaderFields()
85 return m_private->m_headers; in headers()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DCrossOriginPreflightResultCache.cpp96 m_headers.clear(); in parse()
97 …parseAccessControlAllowList(response.httpHeaderField("Access-Control-Allow-Headers"), m_headers)) { in parse()
127 …if (!m_headers.contains(it->key) && !FetchUtils::isSimpleHeader(it->key, it->value) && !FetchUtils… in allowsCrossOriginHeaders()
DCrossOriginPreflightResultCache.h65 HeadersSet m_headers; variable
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DNetworkResourcesData.h63 const HTTPHeaderMap& headers() const { return m_headers; } in headers()
75 HTTPHeaderMap m_headers; variable
DNetworkResourcesData.cpp56 m_headers.set(key, value); in addHeader()