Index: chrome/browser/net/view_blob_internals_job_factory.cc |
diff --git a/chrome/browser/net/view_blob_internals_job_factory.cc b/chrome/browser/net/view_blob_internals_job_factory.cc |
index 14989341a3ab4e2325d16a30a748fbbf0b72067b..2b84f23f0c09f6668203470e8029e404cb96336a 100644 |
--- a/chrome/browser/net/view_blob_internals_job_factory.cc |
+++ b/chrome/browser/net/view_blob_internals_job_factory.cc |
@@ -13,9 +13,8 @@ |
// static. |
bool ViewBlobInternalsJobFactory::IsSupportedURL(const GURL& url) { |
- return StartsWithASCII(url.spec(), |
- chrome::kBlobViewInternalsURL, |
- true /*case_sensitive*/); |
+ return url.SchemeIs(chrome::kChromeUIScheme) && |
+ url.host() == chrome::kChromeUIBlobInternalsHost; |
} |
// static. |