OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CONTENT_NETWORK_CACHE_URL_LOADER_H_ | 5 #ifndef CONTENT_NETWORK_CACHE_URL_LOADER_H_ |
6 #define CONTENT_NETWORK_CACHE_URL_LOADER_H_ | 6 #define CONTENT_NETWORK_CACHE_URL_LOADER_H_ |
7 | 7 |
8 #include "content/common/url_loader.mojom.h" | 8 #include "content/public/common/url_loader.mojom.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 class URLRequestContext; | 11 class URLRequestContext; |
12 } | 12 } |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // Creates a URLLoader that responds to developer requests to view the cache. | 16 // Creates a URLLoader that responds to developer requests to view the cache. |
17 void StartCacheURLLoader(const GURL& url, | 17 void StartCacheURLLoader(const GURL& url, |
18 net::URLRequestContext* request_context, | 18 net::URLRequestContext* request_context, |
19 mojom::URLLoaderClientPtr client); | 19 mojom::URLLoaderClientPtr client); |
20 | 20 |
21 } // namespace content | 21 } // namespace content |
22 | 22 |
23 #endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_ | 23 #endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_ |
OLD | NEW |