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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.h

Issue 399773002: Experience sampling insturmentation for SSL and Safe Browsing interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sampling-api
Patch Set: Clean up experience sampling header file changes Created 6 years, 4 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: chrome/browser/safe_browsing/safe_browsing_blocking_page.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
index 8eaa9ba8a8268d03469093f8c808b55cb0d5db58..307fa202503c2ed8af2fa23c13f6b97dce1b42f5 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
@@ -53,6 +53,12 @@ class InterstitialPage;
class WebContents;
}
+#if defined(ENABLE_EXTENSIONS)
+namespace extensions {
+class ExperienceSamplingEvent;
+}
+#endif
+
class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate {
public:
typedef SafeBrowsingUIManager::UnsafeResource UnsafeResource;
@@ -233,6 +239,11 @@ class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate {
int num_visits_;
base::CancelableTaskTracker request_tracker_;
+ private:
+#if defined(ENABLE_EXTENSIONS)
+ scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingBlockingPage);
};

Powered by Google App Engine
This is Rietveld 408576698