1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/common/cookie_data.h"
7 #include "net/cookies/canonical_cookie.h"
11 CookieData::CookieData()
18 CookieData::CookieData(const net::CanonicalCookie
& c
)
23 expires(c
.ExpiryDate().ToDoubleT() * 1000),
24 http_only(c
.IsHttpOnly()),
26 session(!c
.IsPersistent()) {
29 CookieData::~CookieData() {
32 } // namespace content