Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: content/common/cookie_data.cc

Issue 1082623002: Remove GetRawCookies and DeleteCookie implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/cookie_data.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cookie_data.cc
diff --git a/content/common/cookie_data.cc b/content/common/cookie_data.cc
deleted file mode 100644
index 3a6980bbdea1da9c21f323fbe4cc108c98566b32..0000000000000000000000000000000000000000
--- a/content/common/cookie_data.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/common/cookie_data.h"
-
-#include "net/cookies/canonical_cookie.h"
-
-namespace content {
-
-CookieData::CookieData()
- : expires(0),
- http_only(false),
- secure(false),
- session(false) {
-}
-
-CookieData::CookieData(const net::CanonicalCookie& c)
- : name(c.Name()),
- value(c.Value()),
- domain(c.Domain()),
- path(c.Path()),
- expires(c.ExpiryDate().ToDoubleT() * 1000),
- http_only(c.IsHttpOnly()),
- secure(c.IsSecure()),
- session(!c.IsPersistent()) {
-}
-
-CookieData::~CookieData() {
-}
-
-} // namespace content
« no previous file with comments | « content/common/cookie_data.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698