OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 5 #ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/cancelable_callback.h" | 14 #include "base/cancelable_callback.h" |
| 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
18 #include "ios/net/cookies/cookie_cache.h" | 19 #include "ios/net/cookies/cookie_cache.h" |
19 #include "net/cookies/cookie_monster.h" | 20 #include "net/cookies/cookie_monster.h" |
20 #include "net/cookies/cookie_store.h" | 21 #include "net/cookies/cookie_store.h" |
21 #include "url/gurl.h" | 22 #include "url/gurl.h" |
22 | 23 |
23 #if defined(__OBJC__) | 24 #if defined(__OBJC__) |
24 @class NSHTTPCookie; | 25 @class NSHTTPCookie; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 typedef std::map<std::pair<GURL, std::string>, CookieChangedCallbackList*> | 308 typedef std::map<std::pair<GURL, std::string>, CookieChangedCallbackList*> |
308 CookieChangedHookMap; | 309 CookieChangedHookMap; |
309 CookieChangedHookMap hook_map_; | 310 CookieChangedHookMap hook_map_; |
310 | 311 |
311 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); | 312 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); |
312 }; | 313 }; |
313 | 314 |
314 } // namespace net | 315 } // namespace net |
315 | 316 |
316 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 317 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
OLD | NEW |