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

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

Issue 986583002: Collect host of Web Component usage to send to RAPPOR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
Index: Source/core/frame/UseCounter.h
diff --git a/Source/core/frame/UseCounter.h b/Source/core/frame/UseCounter.h
index fada9c4f10af31f8171aee765465c0d5b56b4684..2da235dbce5f44e6caea5e789604a74a22886f44 100644
--- a/Source/core/frame/UseCounter.h
+++ b/Source/core/frame/UseCounter.h
@@ -27,6 +27,7 @@
#define UseCounter_h
#include "core/CSSPropertyNames.h"
+#include "core/frame/UseByOriginCounter.h"
#include "wtf/BitVector.h"
#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
@@ -675,6 +676,8 @@ public:
static void countDeprecationIfNotPrivateScript(v8::Isolate*, ExecutionContext*, Feature);
static String deprecationMessage(Feature);
+ UseByOriginCounter& useByOriginCounter() { return m_useByOriginCounter; }
+
void didCommitLoad();
static UseCounter* getFrom(const Document*);
@@ -719,6 +722,7 @@ private:
CountBits m_countBits;
BitVector m_CSSFeatureBits;
+ UseByOriginCounter m_useByOriginCounter;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698