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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_controller.h

Issue 402293002: Experience sampling instrumentation for dangerous downloads warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sampling-api
Patch Set: Add default actions for tests 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/ui/cocoa/download/download_item_controller.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.h b/chrome/browser/ui/cocoa/download/download_item_controller.h
index 78010b6be04b3c4056ba92fcfbb2039ce396ba65..e9373f3e583cd6aa3cb5beac9dcf5a980bc192a8 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.h
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.h
@@ -21,6 +21,10 @@ class DownloadItem;
class PageNavigator;
}
+namespace extensions {
+class ExperienceSamplingEvent;
+}
+
namespace gfx {
class FontList;
}
@@ -71,6 +75,10 @@ class MenuModel;
kNormal,
kDangerous
} state_;
+
+ // ExperienceSampling: This tracks dangerous/malicious downloads warning UI
+ // and the user's decisions about it.
+ scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
};
// Initialize controller for |downloadItem|.

Powered by Google App Engine
This is Rietveld 408576698