Account for server vs host clock skew in cookie expiration times.

When setting a cookie's expiration time in the cookie store we need
to take into account any difference between the HTTP server and the
host machine's real time clock.  This reverts 159685 which reverted 146616.

BUG=135131
TEST=net_unittests --gtest_filter=CookieMonster/CookieStoreTest/0.TestCookieDeletion

Review URL: https://chromiumcodereview.appspot.com/11339032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
pauljensen@chromium.org 2012-11-01 10:29:16 +00:00
Родитель 0225fef387
Коммит 9fd231c3fb
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -30,6 +30,7 @@ HTTPSRequestTest.HTTPSMismatchedTest
HTTPSRequestTest.HTTPSExpiredTest
HTTPSRequestTest.HTTPSPreloadedHSTSTest
HTTPSRequestTest.ClientAuthTest
URLRequestTest.AcceptClockSkewCookieWithWrongDateTimezone
URLRequestTest.DelayedCookieCallback
URLRequestTest.DoNotSendCookies
URLRequestTest.DoNotSaveCookies