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

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

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 // 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>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
15 #include "base/callback_list.h" 15 #include "base/callback_list.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/cookies/canonical_cookie.h" 18 #include "net/cookies/canonical_cookie.h"
19 #include "net/cookies/cookie_options.h" 19 #include "net/cookies/cookie_options.h"
20 20
21 class GURL; 21 class GURL;
22 22
23 namespace net { 23 namespace net {
24 24
25 class CookieMonster;
26
27 // An interface for storing and retrieving cookies. Implementations are not 25 // An interface for storing and retrieving cookies. Implementations are not
28 // thread safe, as with most other net classes. All methods must be invoked on 26 // thread safe, as with most other net classes. All methods must be invoked on
29 // the network thread, and all callbacks will be calle there. 27 // the network thread, and all callbacks will be calle there.
30 // 28 //
31 // All async functions may either invoke the callback asynchronously, or they 29 // All async functions may either invoke the callback asynchronously, or they
32 // may be invoked immediately (prior to return of the asynchronous function). 30 // may be invoked immediately (prior to return of the asynchronous function).
33 // Destroying the CookieStore will cancel pending async callbacks. 31 // Destroying the CookieStore will cancel pending async callbacks.
34 class NET_EXPORT CookieStore { 32 class NET_EXPORT CookieStore {
35 public: 33 public:
36 // The publicly relevant reasons a cookie might be changed. 34 // The publicly relevant reasons a cookie might be changed.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 int GetChannelIDServiceID(); 236 int GetChannelIDServiceID();
239 237
240 protected: 238 protected:
241 CookieStore(); 239 CookieStore();
242 int channel_id_service_id_; 240 int channel_id_service_id_;
243 }; 241 };
244 242
245 } // namespace net 243 } // namespace net
246 244
247 #endif // NET_COOKIES_COOKIE_STORE_H_ 245 #endif // NET_COOKIES_COOKIE_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698