Reland "[iOS] Using UnifiedConsentService::SetUnifiedConsentGiven() in the settings"
This is a reland of 72bd9335 Fixing 2 test problems: + ChromeSigninViewControllerTest.TestConsentWithOKGOTIT* UnifiedConsentService needs UnifiedConsentServiceClient, local and user preference service. To make the unittest working, the UnifiedConsentService is prevented to be created. + GoogleServicesSettingsTestCase.testOpenManageSyncedDataWebPageWhileSignedIn To open the manage synced data web page, the user should be signed in without unified consent. Original change's description: > [iOS] Using UnifiedConsentService::SetUnifiedConsentGiven() in the settings > > This CL enables unified consent given when the user signs in to Chrome. > This CL also disabled and enables unified consent given when the user > toggles the corresponding switch on and off in the Sync and other services > settings screen. > > Bug: 827072 > Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet > Change-Id: I5384052f4abe117e7816733e45dc4091afe55708 > Reviewed-on: https://chromium-review.googlesource.com/1165151 > Reviewed-by: Thomas Tangl <tangltom@chromium.org> > Reviewed-by: Mihai Sardarescu <msarda@chromium.org> > Reviewed-by: Sergio Collazos <sczs@chromium.org> > Cr-Commit-Position: refs/heads/master@{#581873} Bug: 827072 Change-Id: Ideb01f7c7a5bd2f5e1b6d927eb590b681283aad7 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Reviewed-on: https://chromium-review.googlesource.com/1172402Reviewed-by:Thomas Tangl <tangltom@chromium.org> Reviewed-by:
Sergio Collazos <sczs@chromium.org> Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#584413}
Showing
Please register or sign in to comment