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

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

Issue 2157963002: Improve grammar in some comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maxiumum Created 4 years, 5 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 | « gpu/command_buffer/client/gles2_implementation.h ('k') | net/disk_cache/backend_unittest.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 // Brought to you by number 42. 5 // Brought to you by number 42.
6 6
7 #ifndef NET_COOKIES_COOKIE_STORE_H_ 7 #ifndef NET_COOKIES_COOKIE_STORE_H_
8 #define NET_COOKIES_COOKIE_STORE_H_ 8 #define NET_COOKIES_COOKIE_STORE_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 const DeleteCallback& callback) = 0; 150 const DeleteCallback& callback) = 0;
151 151
152 // Deletes all of the cookies that have a creation_date greater than or equal 152 // Deletes all of the cookies that have a creation_date greater than or equal
153 // to |delete_begin| and less than |delete_end| 153 // to |delete_begin| and less than |delete_end|
154 // Calls |callback| with the number of cookies deleted. 154 // Calls |callback| with the number of cookies deleted.
155 virtual void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, 155 virtual void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin,
156 const base::Time& delete_end, 156 const base::Time& delete_end,
157 const DeleteCallback& callback) = 0; 157 const DeleteCallback& callback) = 0;
158 158
159 // Deletes all of the cookies that match the given predicate and that have a 159 // Deletes all of the cookies that match the given predicate and that have a
160 // creation_date greater than or equal to |delete_begin| and less then 160 // creation_date greater than or equal to |delete_begin| and smaller than
161 // |delete_end|. This includes all http_only and secure cookies. Avoid 161 // |delete_end|. This includes all http_only and secure cookies. Avoid
162 // deleting cookies that could leave websites with a partial set of visible 162 // deleting cookies that could leave websites with a partial set of visible
163 // cookies. 163 // cookies.
164 // Calls |callback| with the number of cookies deleted. 164 // Calls |callback| with the number of cookies deleted.
165 virtual void DeleteAllCreatedBetweenWithPredicateAsync( 165 virtual void DeleteAllCreatedBetweenWithPredicateAsync(
166 const base::Time& delete_begin, 166 const base::Time& delete_begin,
167 const base::Time& delete_end, 167 const base::Time& delete_end,
168 const CookiePredicate& predicate, 168 const CookiePredicate& predicate,
169 const DeleteCallback& callback) = 0; 169 const DeleteCallback& callback) = 0;
170 170
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 int GetChannelIDServiceID(); 211 int GetChannelIDServiceID();
212 212
213 protected: 213 protected:
214 CookieStore(); 214 CookieStore();
215 int channel_id_service_id_; 215 int channel_id_service_id_;
216 }; 216 };
217 217
218 } // namespace net 218 } // namespace net
219 219
220 #endif // NET_COOKIES_COOKIE_STORE_H_ 220 #endif // NET_COOKIES_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.h ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698