Chromium Code Reviews| Index: content/network/cache_url_loader.h |
| diff --git a/content/network/cache_url_loader.h b/content/network/cache_url_loader.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ff67acb9ea5987eb746e73689bc07c0bcb5cda88 |
| --- /dev/null |
| +++ b/content/network/cache_url_loader.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_NETWORK_CACHE_URL_LOADER_H_ |
| +#define CONTENT_NETWORK_CACHE_URL_LOADER_H_ |
| + |
| +#include "content/common/url_loader.mojom.h" |
| + |
| +namespace net { |
| +class URLRequestContext; |
| +} |
| + |
| +namespace content { |
| + |
| +// Creates a URLLoader that responds to developer requests to view the cache. |
| +void StartCacheURLLoader(const ResourceRequest& request, |
| + net::URLRequestContext* request_context, |
| + mojom::URLLoaderClientPtr client); |
| +} // namespace content |
|
mmenke
2017/05/10 18:52:30
nit: Blank line before end of namespace, to match
jam
2017/05/10 22:02:53
Done.
|
| + |
| +#endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_ |