Commit 10500a83 authored by Peter Marshall's avatar Peter Marshall Committed by Chromium LUCI CQ

Add surveys for the remaining DevTools Issues

Bug: 1112738
Change-Id: I4bba96de7a669797ee32d0b6fab7b9d5501dc6f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560099Reviewed-by: default avatarTheodore Olsauskas-Warren <sauski@google.com>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832280}
parent 48da6eeb
...@@ -34,8 +34,14 @@ constexpr char kHatsSurveyTriggerTesting[] = "testing"; ...@@ -34,8 +34,14 @@ constexpr char kHatsSurveyTriggerTesting[] = "testing";
constexpr char kHatsSurveyTriggerSatisfaction[] = "satisfaction"; constexpr char kHatsSurveyTriggerSatisfaction[] = "satisfaction";
constexpr char kHatsSurveyTriggerSettings[] = "settings"; constexpr char kHatsSurveyTriggerSettings[] = "settings";
constexpr char kHatsSurveyTriggerSettingsPrivacy[] = "settings-privacy"; constexpr char kHatsSurveyTriggerSettingsPrivacy[] = "settings-privacy";
constexpr char kHatsSurveyTriggerDevToolsIssuesCOEP[] = "devtools-issues-coep";
constexpr char kHatsSurveyTriggerDevToolsIssuesMixedContent[] =
"devtools-issues-mixed-content";
constexpr char kHatsSurveyTriggerDevToolsIssuesCookiesSameSite[] = constexpr char kHatsSurveyTriggerDevToolsIssuesCookiesSameSite[] =
"devtools-issues-cookies-samesite"; "devtools-issues-cookies-samesite";
constexpr char kHatsSurveyTriggerDevToolsIssuesHeavyAd[] =
"devtools-issues-heavy-ad";
constexpr char kHatsSurveyTriggerDevToolsIssuesCSP[] = "devtools-issues-csp";
constexpr char kHatsNextSurveyTriggerIDTesting[] = constexpr char kHatsNextSurveyTriggerIDTesting[] =
"zishSVViB0kPN8UwQ150VGjBKuBP"; "zishSVViB0kPN8UwQ150VGjBKuBP";
...@@ -47,7 +53,11 @@ namespace { ...@@ -47,7 +53,11 @@ namespace {
const base::Feature* survey_features[] = { const base::Feature* survey_features[] = {
&features::kHappinessTrackingSurveysForDesktop, &features::kHappinessTrackingSurveysForDesktop,
&features::kHaTSDesktopDevToolsIssuesCOEP,
&features::kHaTSDesktopDevToolsIssuesMixedContent,
&features::kHappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite, &features::kHappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite,
&features::kHaTSDesktopDevToolsIssuesHeavyAd,
&features::kHaTSDesktopDevToolsIssuesCSP,
&features::kHappinessTrackingSurveysForDesktopSettings, &features::kHappinessTrackingSurveysForDesktopSettings,
&features::kHappinessTrackingSurveysForDesktopSettingsPrivacy}; &features::kHappinessTrackingSurveysForDesktopSettingsPrivacy};
......
...@@ -32,7 +32,11 @@ extern const char kHatsSurveyTriggerTesting[]; ...@@ -32,7 +32,11 @@ extern const char kHatsSurveyTriggerTesting[];
extern const char kHatsSurveyTriggerSatisfaction[]; extern const char kHatsSurveyTriggerSatisfaction[];
extern const char kHatsSurveyTriggerSettings[]; extern const char kHatsSurveyTriggerSettings[];
extern const char kHatsSurveyTriggerSettingsPrivacy[]; extern const char kHatsSurveyTriggerSettingsPrivacy[];
extern const char kHatsSurveyTriggerDevToolsIssuesCOEP[];
extern const char kHatsSurveyTriggerDevToolsIssuesMixedContent[];
extern const char kHatsSurveyTriggerDevToolsIssuesCookiesSameSite[]; extern const char kHatsSurveyTriggerDevToolsIssuesCookiesSameSite[];
extern const char kHatsSurveyTriggerDevToolsIssuesHeavyAd[];
extern const char kHatsSurveyTriggerDevToolsIssuesCSP[];
// The Trigger ID for a test HaTS Next survey which is available for testing // The Trigger ID for a test HaTS Next survey which is available for testing
// and demo purposes when the migration feature flag is enabled. // and demo purposes when the migration feature flag is enabled.
......
...@@ -445,6 +445,16 @@ const base::Feature kHappinessTrackingSurveysForDesktopDemo{ ...@@ -445,6 +445,16 @@ const base::Feature kHappinessTrackingSurveysForDesktopDemo{
"HappinessTrackingSurveysForDesktopDemo", "HappinessTrackingSurveysForDesktopDemo",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
// Enables or disables the Happiness Tracking System for COEP issues in Chrome
// DevTools on Desktop.
const base::Feature kHaTSDesktopDevToolsIssuesCOEP{
"HaTSDesktopDevToolsIssuesCOEP", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables or disables the Happiness Tracking System for Mixed Content issues in
// Chrome DevTools on Desktop.
const base::Feature kHaTSDesktopDevToolsIssuesMixedContent{
"HaTSDesktopDevToolsIssuesMixedContent", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables or disables the Happiness Tracking System for same-site cookies // Enables or disables the Happiness Tracking System for same-site cookies
// issues in Chrome DevTools on Desktop. // issues in Chrome DevTools on Desktop.
const base::Feature const base::Feature
...@@ -452,6 +462,16 @@ const base::Feature ...@@ -452,6 +462,16 @@ const base::Feature
"HappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite", "HappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
// Enables or disables the Happiness Tracking System for Heavy Ad issues in
// Chrome DevTools on Desktop.
const base::Feature kHaTSDesktopDevToolsIssuesHeavyAd{
"HaTSDesktopDevToolsIssuesHeavyAd", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables or disables the Happiness Tracking System for CSP issues in Chrome
// DevTools on Desktop.
const base::Feature kHaTSDesktopDevToolsIssuesCSP{
"HaTSDesktopDevToolsIssuesCSP", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the migration of Happiness Tracking Surveys on Desktop (to the latest // Enables the migration of Happiness Tracking Surveys on Desktop (to the latest
// version). // version).
const base::Feature kHappinessTrackingSurveysForDesktopMigration{ const base::Feature kHappinessTrackingSurveysForDesktopMigration{
......
...@@ -309,9 +309,21 @@ extern const base::Feature kHappinessTrackingSurveysForDesktopSettings; ...@@ -309,9 +309,21 @@ extern const base::Feature kHappinessTrackingSurveysForDesktopSettings;
COMPONENT_EXPORT(CHROME_FEATURES) COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kHappinessTrackingSurveysForDesktopSettingsPrivacy; extern const base::Feature kHappinessTrackingSurveysForDesktopSettingsPrivacy;
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kHaTSDesktopDevToolsIssuesCOEP;
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kHaTSDesktopDevToolsIssuesMixedContent;
COMPONENT_EXPORT(CHROME_FEATURES) COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature extern const base::Feature
kHappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite; kHappinessTrackingSurveysForDesktopDevToolsIssuesCookiesSameSite;
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kHaTSDesktopDevToolsIssuesHeavyAd;
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kHaTSDesktopDevToolsIssuesCSP;
#endif #endif
#if BUILDFLAG(IS_CHROMEOS_ASH) #if BUILDFLAG(IS_CHROMEOS_ASH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment