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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BASE_COOKIE_STORE_H_ 7 #ifndef NET_BASE_COOKIE_STORE_H_
8 #define NET_BASE_COOKIE_STORE_H_ 8 #define NET_BASE_COOKIE_STORE_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "net/base/cookie_options.h" 18 #include "net/base/cookie_options.h"
19 #include "net/base/net_api.h" 19 #include "net/base/net_export.h"
20 20
21 class GURL; 21 class GURL;
22 22
23 namespace net { 23 namespace net {
24 24
25 class CookieMonster; 25 class CookieMonster;
26 26
27 // An interface for storing and retrieving cookies. Implementations need to 27 // An interface for storing and retrieving cookies. Implementations need to
28 // be thread safe as its methods can be accessed from IO as well as UI threads. 28 // be thread safe as its methods can be accessed from IO as well as UI threads.
29 class NET_API CookieStore : public base::RefCountedThreadSafe<CookieStore> { 29 class NET_EXPORT CookieStore : public base::RefCountedThreadSafe<CookieStore> {
30 public: 30 public:
31 // This struct contains additional consumer-specific information that might 31 // This struct contains additional consumer-specific information that might
32 // be stored with cookies; currently just MAC information, see: 32 // be stored with cookies; currently just MAC information, see:
33 // http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac 33 // http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac
34 struct NET_API CookieInfo { 34 struct NET_EXPORT CookieInfo {
35 CookieInfo(); 35 CookieInfo();
36 ~CookieInfo(); 36 ~CookieInfo();
37 37
38 // The name of the cookie. 38 // The name of the cookie.
39 std::string name; 39 std::string name;
40 // TODO(abarth): Add value if any clients need it. 40 // TODO(abarth): Add value if any clients need it.
41 41
42 // The time at which the cookie was created. 42 // The time at which the cookie was created.
43 base::Time creation_date; 43 base::Time creation_date;
44 44
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 protected: 131 protected:
132 friend class base::RefCountedThreadSafe<CookieStore>; 132 friend class base::RefCountedThreadSafe<CookieStore>;
133 CookieStore(); 133 CookieStore();
134 virtual ~CookieStore(); 134 virtual ~CookieStore();
135 }; 135 };
136 136
137 } // namespace net 137 } // namespace net
138 138
139 #endif // NET_BASE_COOKIE_STORE_H_ 139 #endif // NET_BASE_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « net/base/cookie_monster.h ('k') | net/base/crl_filter.h » ('j') | net/base/net_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698