Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions GoogleSignIn/Tests/Unit/GIDFakeFetcherService.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ - (NSURLSession *)sessionForFetcherCreation {
return nil;
}

// TODO: replace with GTMSessionFetcherSessionCreationBlock once that has become
// available by updating the version dependencies.
typedef NSURLSession *_Nullable (^GIDFakeFetcherSessionCreationBlock)(
id<NSURLSessionDelegate> _Nullable delegate);
- (NSURLSession *)sessionWithCreationBlock:
(NS_NOESCAPE GIDFakeFetcherSessionCreationBlock)creationBlock {
return nil;
}

- (id<NSURLSessionDelegate>)sessionDelegate {
return nil;
}
Expand Down