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 #include "ios/net/cookies/cookie_store_ios.h" | 5 #include "ios/net/cookies/cookie_store_ios.h" |
6 | 6 |
7 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include "base/bind.h" | 10 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
11 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
12 #include "base/ios/ios_util.h" | 13 #include "base/ios/ios_util.h" |
13 #include "base/location.h" | 14 #include "base/location.h" |
14 #include "base/logging.h" | 15 #include "base/logging.h" |
15 #include "base/mac/foundation_util.h" | 16 #include "base/mac/foundation_util.h" |
16 #include "base/mac/scoped_nsobject.h" | 17 #include "base/mac/scoped_nsobject.h" |
| 18 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
18 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
19 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
20 #include "base/sequenced_task_runner.h" | 22 #include "base/sequenced_task_runner.h" |
21 #include "base/stl_util.h" | 23 #include "base/stl_util.h" |
22 #include "base/strings/sys_string_conversions.h" | 24 #include "base/strings/sys_string_conversions.h" |
23 #include "base/task_runner_util.h" | 25 #include "base/task_runner_util.h" |
24 #include "base/thread_task_runner_handle.h" | 26 #include "base/thread_task_runner_handle.h" |
25 #include "base/threading/thread_restrictions.h" | 27 #include "base/threading/thread_restrictions.h" |
26 #include "ios/net/cookies/cookie_creation_time_manager.h" | 28 #include "ios/net/cookies/cookie_creation_time_manager.h" |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
999 DCHECK(thread_checker_.CalledOnValidThread()); | 1001 DCHECK(thread_checker_.CalledOnValidThread()); |
1000 return base::Bind(&CookieStoreIOS::UpdateCachesAfterDelete, this, callback); | 1002 return base::Bind(&CookieStoreIOS::UpdateCachesAfterDelete, this, callback); |
1001 } | 1003 } |
1002 | 1004 |
1003 base::Closure CookieStoreIOS::WrapClosure(const base::Closure& callback) { | 1005 base::Closure CookieStoreIOS::WrapClosure(const base::Closure& callback) { |
1004 DCHECK(thread_checker_.CalledOnValidThread()); | 1006 DCHECK(thread_checker_.CalledOnValidThread()); |
1005 return base::Bind(&CookieStoreIOS::UpdateCachesAfterClosure, this, callback); | 1007 return base::Bind(&CookieStoreIOS::UpdateCachesAfterClosure, this, callback); |
1006 } | 1008 } |
1007 | 1009 |
1008 } // namespace net | 1010 } // namespace net |
OLD | NEW |