Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(913)

Unified Diff: content/network/cache_url_loader.h

Issue 2870203002: Implement chrome://view-http-cache with network service. (Closed)
Patch Set: fix memory leak Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/network/DEPS ('k') | content/network/cache_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f6f7e21e5a78590f3f4dcccf2179b627cb925a2c
--- /dev/null
+++ b/content/network/cache_url_loader.h
@@ -0,0 +1,23 @@
+// 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
+
+#endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_
« no previous file with comments | « content/network/DEPS ('k') | content/network/cache_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698