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 CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ |
6 #define CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ | 6 #define CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/message_loop_helpers.h" | 10 #include "base/sequenced_task_runner_helpers.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class SingleThreadTaskRunner; | 14 class SingleThreadTaskRunner; |
15 } // namespace base | 15 } // namespace base |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class CookieStore; | 18 class CookieStore; |
19 class URLRequestContext; | 19 class URLRequestContext; |
20 | 20 |
(...skipping 29 matching lines...) Expand all Loading... |
50 | 50 |
51 struct URLRequestContextGetterTraits { | 51 struct URLRequestContextGetterTraits { |
52 static void Destruct(const URLRequestContextGetter* context_getter) { | 52 static void Destruct(const URLRequestContextGetter* context_getter) { |
53 context_getter->OnDestruct(); | 53 context_getter->OnDestruct(); |
54 } | 54 } |
55 }; | 55 }; |
56 | 56 |
57 } // namespace net | 57 } // namespace net |
58 | 58 |
59 #endif // CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ | 59 #endif // CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ |
OLD | NEW |