OLD | NEW |
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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
14 #include "chrome/browser/browsing_data/canonical_cookie_hash.h" | 16 #include "chrome/browser/browsing_data/canonical_cookie_hash.h" |
15 #include "net/cookies/cookie_monster.h" | 17 #include "net/cookies/cookie_monster.h" |
16 | 18 |
17 class GURL; | 19 class GURL; |
18 | 20 |
19 namespace net { | 21 namespace net { |
20 class CanonicalCookie; | 22 class CanonicalCookie; |
21 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
22 } | 24 } |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 void AddCookie(const GURL& frame_url, | 141 void AddCookie(const GURL& frame_url, |
140 const net::CanonicalCookie& cookie); | 142 const net::CanonicalCookie& cookie); |
141 | 143 |
142 // Map that contains the cookie sets for all frame origins. | 144 // Map that contains the cookie sets for all frame origins. |
143 OriginCookieSetMap origin_cookie_set_map_; | 145 OriginCookieSetMap origin_cookie_set_map_; |
144 | 146 |
145 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataCookieHelper); | 147 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataCookieHelper); |
146 }; | 148 }; |
147 | 149 |
148 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ | 150 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
OLD | NEW |