Set "YouTube-Safety-Mode:Active" header instead of modifying YouTube's Pref cookie.
commitac9766f340ceeadbe24893b93583f70b758774d8
authortreib <treib@chromium.org>
Mon, 10 Nov 2014 17:39:22 +0000 (10 09:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 10 Nov 2014 17:39:55 +0000 (10 17:39 +0000)
treebff675e36b54e3e43814cff371d2211b7b27dd14
parent11e2209b8d9fd824d10fde9cc2c006f037307f57
Set "YouTube-Safety-Mode:Active" header instead of modifying YouTube's Pref cookie.

This is a cleanup of https://codereview.chromium.org/354183002, possible now that YouTube supports a special HTTP header to enable Safety Mode.

BUG=430028

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

Cr-Commit-Position: refs/heads/master@{#303487}
chrome/browser/net/safe_search_util.cc
chrome/browser/net/safe_search_util.h
chrome/browser/net/safe_search_util_unittest.cc