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

Side by Side Diff: net/cookies/cookie_store_test_helpers.h

Issue 9959011: Add CookieStore::DeleteSessionCookiesAsync method. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased again Created 8 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.cc » ('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 #ifndef NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ 5 #ifndef NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_
6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ 6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/cookies/cookie_monster.h" 9 #include "net/cookies/cookie_monster.h"
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 virtual void DeleteCookieAsync(const GURL& url, 57 virtual void DeleteCookieAsync(const GURL& url,
58 const std::string& cookie_name, 58 const std::string& cookie_name,
59 const base::Closure& callback) OVERRIDE; 59 const base::Closure& callback) OVERRIDE;
60 60
61 virtual void DeleteAllCreatedBetweenAsync( 61 virtual void DeleteAllCreatedBetweenAsync(
62 const base::Time& delete_begin, 62 const base::Time& delete_begin,
63 const base::Time& delete_end, 63 const base::Time& delete_end,
64 const DeleteCallback& callback) OVERRIDE; 64 const DeleteCallback& callback) OVERRIDE;
65 65
66 virtual void DeleteSessionCookiesAsync(const DeleteCallback&) OVERRIDE;
67
66 virtual CookieMonster* GetCookieMonster() OVERRIDE; 68 virtual CookieMonster* GetCookieMonster() OVERRIDE;
67 69
68 private: 70 private:
69 71
70 // Be called immediately from CookieMonster. 72 // Be called immediately from CookieMonster.
71 73
72 void GetCookiesInternalCallback( 74 void GetCookiesInternalCallback(
73 const std::string& cookie_line, 75 const std::string& cookie_line,
74 const std::vector<CookieStore::CookieInfo>& cookie_info); 76 const std::vector<CookieStore::CookieInfo>& cookie_info);
75 77
(...skipping 20 matching lines...) Expand all
96 bool did_run_; 98 bool did_run_;
97 bool result_; 99 bool result_;
98 std::string cookie_; 100 std::string cookie_;
99 std::string cookie_line_; 101 std::string cookie_line_;
100 std::vector<CookieStore::CookieInfo> cookie_info_; 102 std::vector<CookieStore::CookieInfo> cookie_info_;
101 }; 103 };
102 104
103 } // namespace net 105 } // namespace net
104 106
105 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ 107 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698