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 #include "net/cookies/cookie_store_test_helpers.h" | 5 #include "net/cookies/cookie_store_test_helpers.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 const int kDelayedTime = 0; | 12 const int kDelayedTime = 0; |
13 | 13 |
14 DelayedCookieMonster::DelayedCookieMonster() | 14 DelayedCookieMonster::DelayedCookieMonster() |
15 : cookie_monster_(new CookieMonster(NULL, NULL)), | 15 : cookie_monster_(new CookieMonster(NULL, NULL)), |
16 did_run_(false), | 16 did_run_(false), |
17 result_(false) { | 17 result_(false) { |
18 } | 18 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) { | 116 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) { |
117 ADD_FAILURE(); | 117 ADD_FAILURE(); |
118 } | 118 } |
119 | 119 |
120 CookieMonster* DelayedCookieMonster::GetCookieMonster() { | 120 CookieMonster* DelayedCookieMonster::GetCookieMonster() { |
121 return cookie_monster_.get(); | 121 return cookie_monster_.get(); |
122 } | 122 } |
123 | 123 |
124 } // namespace net | 124 } // namespace net |
OLD | NEW |