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

Side by Side Diff: net/cookies/cookie_store.cc

Issue 1844243002: [CookieStore] Upgrading host-based deleting to predicate-based deleting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/cookies/cookie_store.h" 5 #include "net/cookies/cookie_store.h"
6 6
7 #include "base/bind.h"
8 #include "base/callback.h"
7 #include "net/cookies/cookie_options.h" 9 #include "net/cookies/cookie_options.h"
8 10
9 namespace net { 11 namespace net {
10 12
11 CookieStore::~CookieStore() {} 13 CookieStore::~CookieStore() {}
12 14
13 std::string CookieStore::BuildCookieLine( 15 std::string CookieStore::BuildCookieLine(
14 const std::vector<CanonicalCookie>& cookies) { 16 const std::vector<CanonicalCookie>& cookies) {
15 std::string cookie_line; 17 std::string cookie_line;
16 for (const auto& cookie : cookies) { 18 for (const auto& cookie : cookies) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 channel_id_service_id_ = id; 68 channel_id_service_id_ = id;
67 } 69 }
68 70
69 int CookieStore::GetChannelIDServiceID() { 71 int CookieStore::GetChannelIDServiceID() {
70 return channel_id_service_id_; 72 return channel_id_service_id_;
71 } 73 }
72 74
73 CookieStore::CookieStore() : channel_id_service_id_(-1) {} 75 CookieStore::CookieStore() : channel_id_service_id_(-1) {}
74 76
75 } // namespace net 77 } // namespace net
OLDNEW
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698