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