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

Unified Diff: chrome/browser/previews/previews_infobar_delegate.h

Issue 2952343004: Adding previews information to PLM UKM (Closed)
Patch Set: stop observing on background Created 3 years, 6 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/previews/previews_infobar_delegate.h
diff --git a/chrome/browser/previews/previews_infobar_delegate.h b/chrome/browser/previews/previews_infobar_delegate.h
index 47245eace9816691ce6460ebb2aea829b7e751bf..31257d8830e90e6b751aa4b4691880bd47b46ed5 100644
--- a/chrome/browser/previews/previews_infobar_delegate.h
+++ b/chrome/browser/previews/previews_infobar_delegate.h
@@ -68,6 +68,10 @@ class PreviewsInfoBarDelegate : public ConfirmInfoBarDelegate {
int GetButtons() const override;
bool LinkClicked(WindowOpenDisposition disposition) override;
+ // Records that the navigation currently committed in this web contents as an
+ // opt out in PLM UKM.
+ void RecordUKMOptOut();
rkaplow 2017/06/27 22:17:09 I might rename these method - it sounds like it is
RyanSturm 2017/07/11 21:46:41 Done.
+
previews::PreviewsType previews_type_;
// The time at which the preview associated with this infobar was created. A
// value of zero means that the creation time is unknown.

Powered by Google App Engine
This is Rietveld 408576698