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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h

Issue 2604633002: Mute use counters for internal pages (Closed)
Patch Set: Update a related comment Created 4 years 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
Index: third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h
diff --git a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h
index 0cc4e1dbd560bc37e36cfaf43147cc759134dce6..fbe6de0d7568f52959564bfb2b563a9c334271bc 100644
--- a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h
+++ b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h
@@ -95,6 +95,9 @@ class PLATFORM_EXPORT SchemeRegistry {
// differently from "webby" schemes.
static bool shouldTreatURLSchemeAsLegacy(const String& scheme);
+ // Does the scheme represent a location relevant to web compatibility metrics?
+ static bool shouldTrackUsageMetricsForScheme(const String& scheme);
+
// Schemes that can register a service worker.
static void registerURLSchemeAsAllowingServiceWorkers(const String& scheme);
static bool shouldTreatURLSchemeAsAllowingServiceWorkers(

Powered by Google App Engine
This is Rietveld 408576698