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

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

Issue 1741123002: Add removal filter support for Cookies, Storage, and Content Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios fix, and fixed test Created 4 years, 9 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
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/callback.h"
Mike West 2016/03/11 08:36:11 Do we need this? We're just passing the callback t
dmurph 2016/03/30 22:21:27 Done.
7 #include "net/cookies/cookie_options.h" 8 #include "net/cookies/cookie_options.h"
8 9
9 namespace net { 10 namespace net {
10 11
11 CookieStore::~CookieStore() {} 12 CookieStore::~CookieStore() {}
12 13
13 std::string CookieStore::BuildCookieLine( 14 std::string CookieStore::BuildCookieLine(
14 const std::vector<CanonicalCookie>& cookies) { 15 const std::vector<CanonicalCookie>& cookies) {
15 std::string cookie_line; 16 std::string cookie_line;
16 for (const auto& cookie : cookies) { 17 for (const auto& cookie : cookies) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 CookieOptions options; 57 CookieOptions options;
57 options.set_include_httponly(); 58 options.set_include_httponly();
58 options.set_include_same_site(); 59 options.set_include_same_site();
59 options.set_do_not_update_access_time(); 60 options.set_do_not_update_access_time();
60 GetCookieListWithOptionsAsync(url, options, callback); 61 GetCookieListWithOptionsAsync(url, options, callback);
61 } 62 }
62 63
63 CookieStore::CookieStore() {} 64 CookieStore::CookieStore() {}
64 65
65 } // namespace net 66 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698