Client Hints
commit3620bbccdc81bc4af00cd68747e45b18c617617c
authorbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 5 Oct 2013 05:07:23 +0000 (5 05:07 +0000)
committerbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 5 Oct 2013 05:07:23 +0000 (5 05:07 +0000)
treedf2bc1ff4924599c97561d7346fefec3ae9f3eda
parent0a7465e3c2aec71ebdec2a9569542adc3fbe2f30
Client Hints

Client Hints can be used as input to proactive content negotiation;
just as the Accept header allowed clients to indicate what formats
they prefer, Client Hints allow clients to indicate a list of device
and agent specific preferences.

See:
https://github.com/igrigorik/http-client-hints/blob/draft2/draft-grigorik-http-client-hints-01.txt

Patched from https://codereview.chromium.org/23654014/, which was
patched from https://codereview.chromium.org/11970002

BUG=170388
CONTRIBUTOR=yoav@yoav.ws

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225425

Review URL: https://codereview.chromium.org/24451003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227178 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
AUTHORS
chrome/browser/io_thread.cc
chrome/browser/net/chrome_network_delegate.cc
chrome/browser/net/chrome_network_delegate.h
chrome/browser/net/client_hints.cc [new file with mode: 0644]
chrome/browser/net/client_hints.h [new file with mode: 0644]
chrome/browser/net/client_hints_unittest.cc [new file with mode: 0644]
chrome/browser/profiles/profile_io_data.cc
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h