Fixed Privet v3 auth header.
commitdeefc1673351ea7d81a648f8a79e8f32d8524f9f
authorvitalybuka <vitalybuka@chromium.org>
Mon, 26 Jan 2015 21:46:11 +0000 (26 13:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 26 Jan 2015 21:48:00 +0000 (26 21:48 +0000)
treebd6360f2bf17b2f3bafa7c82d848b04a97147ba2
parent13fb791b0708a1713e5f1cc58cc7fd8a00f59999
Fixed Privet v3 auth header.

v1 uses "X-Privet-Auth".
v3 uses "Authorization".

Privet v3 client should use "Authorization: Privet anonymous" before pairing.

BUG=449864

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

Cr-Commit-Position: refs/heads/master@{#313144}
chrome/browser/local_discovery/privet_url_fetcher.cc
chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
chrome/browser/local_discovery/privetv3_session.cc
chrome/browser/local_discovery/privetv3_session.h