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

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

Issue 1818603002: Keep track of ChannelIDService in CookieStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/DCHECK(false)/NOTREACHED()/ 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 | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | net/cookies/cookie_store.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 <string> 10 #include <string>
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // implementors need to be improved to not behave this way. 199 // implementors need to be improved to not behave this way.
200 virtual scoped_ptr<CookieChangedSubscription> AddCallbackForCookie( 200 virtual scoped_ptr<CookieChangedSubscription> AddCallbackForCookie(
201 const GURL& url, 201 const GURL& url,
202 const std::string& name, 202 const std::string& name,
203 const CookieChangedCallback& callback) = 0; 203 const CookieChangedCallback& callback) = 0;
204 204
205 // Returns true if this cookie store is ephemeral, and false if it is backed 205 // Returns true if this cookie store is ephemeral, and false if it is backed
206 // by some sort of persistence layer. 206 // by some sort of persistence layer.
207 // TODO(nharper): Remove this method once crbug.com/548423 has been closed. 207 // TODO(nharper): Remove this method once crbug.com/548423 has been closed.
208 virtual bool IsEphemeral() = 0; 208 virtual bool IsEphemeral() = 0;
209 void SetChannelIDServiceID(int id);
210 int GetChannelIDServiceID();
209 211
210 protected: 212 protected:
211 CookieStore(); 213 CookieStore();
214 int channel_id_service_id_;
212 }; 215 };
213 216
214 } // namespace net 217 } // namespace net
215 218
216 #endif // NET_COOKIES_COOKIE_STORE_H_ 219 #endif // NET_COOKIES_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | net/cookies/cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698