Commit fa1ddd28 authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][Credential-Provider] DCHECK App Group URL

Bug: N/A
Change-Id: Iacb1ae872d38e57df2bee90e3dba9583a334877c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148748Reviewed-by: default avatarDavid Jean <djean@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759576}
parent 5705e17d
......@@ -4,6 +4,7 @@
#import "ios/chrome/common/credential_provider/constants.h"
#include "base/logging.h"
#include "ios/chrome/common/ios_app_bundle_id_prefix_buildflags.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
......@@ -29,6 +30,7 @@ NSString* ApplicationGroup() {
NSURL* CredentialProviderSharedArchivableStoreURL() {
NSURL* groupURL = [[NSFileManager defaultManager]
containerURLForSecurityApplicationGroupIdentifier:ApplicationGroup()];
DCHECK(groupURL) << "This should never be nil. Maybe check the entitlements.";
NSURL* credentialProviderURL =
[groupURL URLByAppendingPathComponent:kCredentialProviderContainer];
return [credentialProviderURL
......
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