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_callbacks.h" | 5 #include "net/cookies/cookie_store_test_callbacks.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/threading/thread.h" | 8 #include "base/threading/thread.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 CookieCallback::CookieCallback(base::Thread* run_in_thread) | 13 CookieCallback::CookieCallback(base::Thread* run_in_thread) |
14 : did_run_(false), | 14 : did_run_(false), |
15 run_in_thread_(run_in_thread), | 15 run_in_thread_(run_in_thread), |
16 run_in_loop_(NULL), | 16 run_in_loop_(NULL), |
17 parent_loop_(base::MessageLoop::current()), | 17 parent_loop_(base::MessageLoop::current()), |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 IntResultCookieCallback::IntResultCookieCallback() : result_(0) {} | 52 IntResultCookieCallback::IntResultCookieCallback() : result_(0) {} |
53 IntResultCookieCallback::IntResultCookieCallback(base::Thread* run_in_thread) | 53 IntResultCookieCallback::IntResultCookieCallback(base::Thread* run_in_thread) |
54 : CookieCallback(run_in_thread), | 54 : CookieCallback(run_in_thread), |
55 result_(0) {} | 55 result_(0) {} |
56 | 56 |
57 NoResultCookieCallback::NoResultCookieCallback() {} | 57 NoResultCookieCallback::NoResultCookieCallback() {} |
58 NoResultCookieCallback::NoResultCookieCallback(base::Thread* run_in_thread) | 58 NoResultCookieCallback::NoResultCookieCallback(base::Thread* run_in_thread) |
59 : CookieCallback(run_in_thread) {} | 59 : CookieCallback(run_in_thread) {} |
60 | 60 |
61 } // namespace net | 61 } // namespace net |
OLD | NEW |