arc: Make SET_REPORTING_CONSENT false for managed users
Keep usage & diagnostics false during ARC setup if the user does not
see the ARC ToS dialog due to all relevant settings being managed,
even if usage & diagnostics is enabled for the device.
Also removes the notification added by crrev.com/c/1086354.
Bug: b/73338614, 859104, 855448
Test: Opt in to ARC with managed and unmanaged users
Change-Id: If5bd6b10d4059df97af0b6c14c8f8a15ceaaddc0
Reviewed-on: https://chromium-review.googlesource.com/1115712
Commit-Queue: Josh Horwich <[email protected]>
Reviewed-by: Luis Hector Chavez <[email protected]>
Reviewed-by: Long Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#571532}
diff --git a/components/arc/arc_prefs.h b/components/arc/arc_prefs.h
index 90f2e6e..7cf72c63 100644
--- a/components/arc/arc_prefs.h
+++ b/components/arc/arc_prefs.h
@@ -31,6 +31,7 @@
ARC_EXPORT extern const char kArcPushInstallAppsPending[];
ARC_EXPORT extern const char kArcSetNotificationsEnabledDeferred[];
ARC_EXPORT extern const char kArcSignedIn[];
+ARC_EXPORT extern const char kArcSkippedReportingNotice[];
ARC_EXPORT extern const char kArcSupervisionTransition[];
ARC_EXPORT extern const char kArcCompatibleFilesystemChosen[];
ARC_EXPORT extern const char kArcVoiceInteractionValuePropAccepted[];