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_COOKIE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_COOKIE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "net/cookies/cookie_monster.h" | 14 #include "net/cookies/cookie_monster.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Adds the |cookie| to the cookie list for the given |frame_url|. | 137 // Adds the |cookie| to the cookie list for the given |frame_url|. |
138 void AddCookie(const GURL& frame_url, | 138 void AddCookie(const GURL& frame_url, |
139 const net::CanonicalCookie& cookie); | 139 const net::CanonicalCookie& cookie); |
140 | 140 |
141 // Map that contains the cookie lists for all frame origins. | 141 // Map that contains the cookie lists for all frame origins. |
142 OriginCookieListMap origin_cookie_list_map_; | 142 OriginCookieListMap origin_cookie_list_map_; |
143 | 143 |
144 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataCookieHelper); | 144 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataCookieHelper); |
145 }; | 145 }; |
146 | 146 |
147 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIE_HELPER_H_ | 147 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COOKIE_HELPER_H_ |
OLD | NEW |