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

Unified Diff: chrome/browser/ssl/ssl_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: Remove stray blank line Created 6 years, 5 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/ssl/ssl_blocking_page.h
diff --git a/chrome/browser/ssl/ssl_blocking_page.h b/chrome/browser/ssl/ssl_blocking_page.h
index f9782cd65c3433ab2474f7a11b8e0e15928666d7..394b56ae75c6d28fb066f58d530b25a9dadaaea3 100644
--- a/chrome/browser/ssl/ssl_blocking_page.h
+++ b/chrome/browser/ssl/ssl_blocking_page.h
@@ -26,6 +26,10 @@ class InterstitialPage;
class WebContents;
}
+namespace extensions {
+class ExperienceSamplingEvent;
+}
+
// This class is responsible for showing/hiding the interstitial page that is
// shown when a certificate error happens.
// It deletes itself when the interstitial page is closed.
@@ -122,6 +126,9 @@ class SSLBlockingPage : public content::InterstitialPageDelegate,
// For the FieldTrial: this contains the name of the condition.
std::string trial_condition_;
+ // For Chrome Experience Sampling Platform: this maintains event state.
+ scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
+
content::NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);

Powered by Google App Engine
This is Rietveld 408576698