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_monster_store_test.h" | 5 #include "net/cookies/cookie_monster_store_test.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 LoadedCallbackTask::LoadedCallbackTask(LoadedCallback loaded_callback, | 15 LoadedCallbackTask::LoadedCallbackTask(LoadedCallback loaded_callback, |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 GURL(), "a", "1", base::StringPrintf("h%05d.izzle", i), "/path", | 222 GURL(), "a", "1", base::StringPrintf("h%05d.izzle", i), "/path", |
223 mac_key, mac_algorithm, creation_time, expiration_time, | 223 mac_key, mac_algorithm, creation_time, expiration_time, |
224 last_access_time, false, false, true, true); | 224 last_access_time, false, false, true, true); |
225 store->AddCookie(cc); | 225 store->AddCookie(cc); |
226 } | 226 } |
227 | 227 |
228 return new CookieMonster(store, NULL); | 228 return new CookieMonster(store, NULL); |
229 } | 229 } |
230 | 230 |
231 } // namespace net | 231 } // namespace net |
OLD | NEW |