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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2604633002: Mute use counters for internal pages (Closed)
Patch Set: 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/core/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index 590b0749a3e06852839a347d12c4a6dd304aa64f..d88e55dbaabf40527378eb5ebb34a4463c5fe854 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -29,6 +29,7 @@
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
#include "core/css/parser/CSSParserMode.h"
+#include "platform/weborigin/KURL.h"
#include "wtf/BitVector.h"
#include "wtf/Noncopyable.h"
#include "wtf/text/WTFString.h"
@@ -1428,7 +1429,7 @@ class CORE_EXPORT UseCounter {
static bool isCounted(Document&, const String&);
bool isCounted(CSSPropertyID unresolvedProperty);
- void didCommitLoad();
+ void didCommitLoad(KURL);
static UseCounter* getFrom(const Document*);
static UseCounter* getFrom(const CSSStyleSheet*);
@@ -1449,6 +1450,7 @@ class CORE_EXPORT UseCounter {
EnumerationHistogram& cssHistogram() const;
unsigned m_muteCount;
+ bool m_mutedByLoad;
Context m_context;
// Track what features/properties have been reported to the (non-legacy)

Powered by Google App Engine
This is Rietveld 408576698