OLD | NEW |
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 #include "net/base/cookie_store_test_helpers.h" | 5 #include "net/base/cookie_store_test_helpers.h" |
6 | 6 |
| 7 #include "base/bind.h" |
7 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
8 | 9 |
9 namespace net { | 10 namespace net { |
10 | 11 |
11 const int kDelayedTime = 0; | 12 const int kDelayedTime = 0; |
12 | 13 |
13 DelayedCookieMonster::DelayedCookieMonster() | 14 DelayedCookieMonster::DelayedCookieMonster() |
14 : cookie_monster_(new CookieMonster(NULL, NULL)), | 15 : cookie_monster_(new CookieMonster(NULL, NULL)), |
15 did_run_(false), | 16 did_run_(false), |
16 result_(false) { | 17 result_(false) { |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 const std::string& cookie_name, | 139 const std::string& cookie_name, |
139 const base::Closure& callback) { | 140 const base::Closure& callback) { |
140 ADD_FAILURE(); | 141 ADD_FAILURE(); |
141 } | 142 } |
142 | 143 |
143 CookieMonster* DelayedCookieMonster::GetCookieMonster() { | 144 CookieMonster* DelayedCookieMonster::GetCookieMonster() { |
144 return cookie_monster_; | 145 return cookie_monster_; |
145 } | 146 } |
146 | 147 |
147 } // namespace net | 148 } // namespace net |
OLD | NEW |