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

Unified Diff: content/browser/webui/web_ui_url_loader_factory.cc

Issue 2874623002: Implement chrome://histograms with network service. (Closed)
Patch Set: add comment 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/browser/histogram_internals_url_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_url_loader_factory.cc
diff --git a/content/browser/webui/web_ui_url_loader_factory.cc b/content/browser/webui/web_ui_url_loader_factory.cc
index fd81d67f161adb79deff6fa5fde05ca5d5712b9b..a6ba11d35876de3c0d4e0d1f947eda9eedc03bac 100644
--- a/content/browser/webui/web_ui_url_loader_factory.cc
+++ b/content/browser/webui/web_ui_url_loader_factory.cc
@@ -15,6 +15,7 @@
#include "content/browser/blob_storage/chrome_blob_storage_context.h"
#include "content/browser/frame_host/frame_tree_node.h"
#include "content/browser/frame_host/render_frame_host_impl.h"
+#include "content/browser/histogram_internals_url_loader.h"
#include "content/browser/resource_context_impl.h"
#include "content/browser/webui/url_data_manager_backend.h"
#include "content/browser/webui/url_data_source_impl.h"
@@ -247,6 +248,9 @@ class WebUIURLLoaderFactory : public mojom::URLLoaderFactory,
base::Unretained(
ChromeBlobStorageContext::GetFor(browser_context_))));
return;
+ } else if (request.url.host_piece() == kChromeUIHistogramHost) {
+ StartHistogramInternalsURLLoader(request, std::move(client));
+ return;
}
BrowserThread::PostTask(
« no previous file with comments | « content/browser/histogram_internals_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698