- Add CefPostData::HasExcludedElements which returns true if the underlying

POST data includes elements that are not represented (issue #1761).
- Add CefRequest::SetReferrer and CefRequest::GetReferrer[URL|Policy]. The
  Referer value will no longer be stored in the header map.
- Move request-related conversion logic to CefRequestImpl and standardize the
  implementation.
This commit is contained in:
Marshall Greenblatt
2015-12-01 13:22:28 -05:00
parent 2a658c414b
commit 9bc8da1e02
18 changed files with 793 additions and 348 deletions

View File

@@ -35,6 +35,10 @@ class CefRequestCToCpp
void SetURL(const CefString& url) OVERRIDE;
CefString GetMethod() OVERRIDE;
void SetMethod(const CefString& method) OVERRIDE;
void SetReferrer(const CefString& referrer_url,
ReferrerPolicy policy) OVERRIDE;
CefString GetReferrerURL() OVERRIDE;
ReferrerPolicy GetReferrerPolicy() OVERRIDE;
CefRefPtr<CefPostData> GetPostData() OVERRIDE;
void SetPostData(CefRefPtr<CefPostData> postData) OVERRIDE;
void GetHeaderMap(HeaderMap& headerMap) OVERRIDE;