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

Unified Diff: Source/core/page/Page.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: Move to Platform to align with other histogram/UMA methods 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/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index a3c7334f68e67953ef29441eaff1cec5c5668ff6..8dfbd2b830b9ab33ccf26d48d9428c29156960f9 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -24,6 +24,7 @@
#include "core/dom/ViewportDescription.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/SettingsDelegate.h"
+#include "core/frame/UseByOriginCounter.h"
#include "core/frame/UseCounter.h"
#include "core/page/PageAnimator.h"
#include "core/page/PageLifecycleNotifier.h"
@@ -148,6 +149,7 @@ public:
Settings& settings() const { return *m_settings; }
UseCounter& useCounter() { return m_useCounter; }
+ UseByOriginCounter& useByOriginCounter() { return m_useByOriginCounter; }
void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughElements; }
@@ -245,6 +247,7 @@ private:
OwnPtrWillBeMember<ValidationMessageClient> m_validationMessageClient;
UseCounter m_useCounter;
+ UseByOriginCounter m_useByOriginCounter;
bool m_openedByDOM;

Powered by Google App Engine
This is Rietveld 408576698