Skip to content

Commit fc40d63

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored andcommitted
AI: update privacy disclaimer for Performance AI assistance
Fixed: 405920760 Change-Id: I3ab52899b2df23d01f023c97f831abcd00effc89 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6394238 Auto-Submit: Jack Franklin <[email protected]> Commit-Queue: Andres Olivares <[email protected]> Reviewed-by: Andres Olivares <[email protected]>
1 parent 50e22c5 commit fc40d63

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

front_end/panels/ai_assistance/AiAssistancePanel.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ const UIStringsNotTranslate = {
185185
*@description Disclaimer text right after the chat input.
186186
*/
187187
inputDisclaimerForPerformance:
188-
'Chat messages and the selected call tree are sent to Google and may be seen by human reviewers to improve this feature. This is an experimental AI feature and won\'t always get it right.',
188+
'Chat messages and trace data from your performance trace are sent to Google and may be seen by human reviewers to improve this feature. This is an experimental AI feature and won\'t always get it right.',
189189
/**
190190
*@description Disclaimer text right after the chat input.
191191
*/
192192
inputDisclaimerForPerformanceEnterpriseNoLogging:
193-
'Chat messages and the selected call stack are sent to Google. The content you submit and that is generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right.',
193+
'Chat messages and data from your performance trace are sent to Google. The content you submit and that is generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right.',
194194
} as const;
195195

196196
const str_ = i18n.i18n.registerUIStrings('panels/ai_assistance/AiAssistancePanel.ts', UIStrings);
@@ -956,13 +956,11 @@ export class AiAssistancePanel extends UI.Panel.Panel {
956956
return lockedString(UIStringsNotTranslate.inputDisclaimerForNetworkEnterpriseNoLogging);
957957
}
958958
return lockedString(UIStringsNotTranslate.inputDisclaimerForNetwork);
959+
960+
// It is deliberate that both Performance agents use the same disclaimer
961+
// text and this has been approved by Privacy.
959962
case AiAssistanceModel.ConversationType.PERFORMANCE:
960-
if (noLogging) {
961-
return lockedString(UIStringsNotTranslate.inputDisclaimerForPerformanceEnterpriseNoLogging);
962-
}
963-
return lockedString(UIStringsNotTranslate.inputDisclaimerForPerformance);
964963
case AiAssistanceModel.ConversationType.PERFORMANCE_INSIGHT:
965-
// TODO(b/393061683): Define these rather than reuse the existing performance agent.
966964
if (noLogging) {
967965
return lockedString(UIStringsNotTranslate.inputDisclaimerForPerformanceEnterpriseNoLogging);
968966
}

0 commit comments

Comments
 (0)