| 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_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/location.h" | 8 #include "base/location.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "net/cookies/cookie_constants.h" | 14 #include "net/cookies/cookie_constants.h" |
| 15 #include "net/cookies/cookie_util.h" | 15 #include "net/cookies/cookie_util.h" |
| 16 #include "net/cookies/parsed_cookie.h" | 16 #include "net/cookies/parsed_cookie.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 LoadedCallbackTask::LoadedCallbackTask(LoadedCallback loaded_callback, | 22 LoadedCallbackTask::LoadedCallbackTask(LoadedCallback loaded_callback, |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 store->AddCookie(cc); | 259 store->AddCookie(cc); |
| 260 } | 260 } |
| 261 | 261 |
| 262 return base::WrapUnique(new CookieMonster(store.get(), nullptr)); | 262 return base::WrapUnique(new CookieMonster(store.get(), nullptr)); |
| 263 } | 263 } |
| 264 | 264 |
| 265 MockSimplePersistentCookieStore::~MockSimplePersistentCookieStore() { | 265 MockSimplePersistentCookieStore::~MockSimplePersistentCookieStore() { |
| 266 } | 266 } |
| 267 | 267 |
| 268 } // namespace net | 268 } // namespace net |
| OLD | NEW |