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 #ifndef NET_BASE_COOKIE_STORE_TEST_CALLBACKS_H_ | 5 #ifndef NET_COOKIES_COOKIE_STORE_TEST_CALLBACKS_H_ |
6 #define NET_BASE_COOKIE_STORE_TEST_CALLBACKS_H_ | 6 #define NET_COOKIES_COOKIE_STORE_TEST_CALLBACKS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "net/base/cookie_store.h" | 12 #include "net/cookies/cookie_store.h" |
13 | 13 |
14 class MessageLoop; | 14 class MessageLoop; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class Thread; | 17 class Thread; |
18 } | 18 } |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 | 21 |
22 // Defines common behaviour for the callbacks from GetCookies, SetCookies, etc. | 22 // Defines common behaviour for the callbacks from GetCookies, SetCookies, etc. |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 DeleteCookieCallback(); | 127 DeleteCookieCallback(); |
128 explicit DeleteCookieCallback(base::Thread* run_in_thread); | 128 explicit DeleteCookieCallback(base::Thread* run_in_thread); |
129 | 129 |
130 void Run() { | 130 void Run() { |
131 CallbackEpilogue(); | 131 CallbackEpilogue(); |
132 } | 132 } |
133 }; | 133 }; |
134 | 134 |
135 } // namespace net | 135 } // namespace net |
136 | 136 |
137 #endif // NET_BASE_COOKIE_STORE_TEST_CALLBACKS_H_ | 137 #endif // NET_COOKIES_COOKIE_STORE_TEST_CALLBACKS_H_ |
OLD | NEW |