diff options
author | Sylvain Defresne <sdefresne@chromium.org> | 2016-02-08 17:39:44 +0100 |
---|---|---|
committer | Sylvain Defresne <sdefresne@chromium.org> | 2016-02-08 17:39:44 +0100 |
commit | afa2539de44cbe65c8d14d7275e7a88bc7b9ab32 (patch) | |
tree | fc476a9cd9396fbd265d99a75e81baf317e0e21a /src/common/android/testing/pthread_fixes.h | |
parent | Fix usage of deprecated method stringByAddingPercentEscapesUsingEncoding:. (diff) | |
download | breakpad-afa2539de44cbe65c8d14d7275e7a88bc7b9ab32.tar.xz |
Fix usage of deprecated method sendSynchronousRequest:returningResponse:error:.
The method -[NSURLConnection sendSynchronousRequest:returningResponse:error:]
has been deprecated in 10.11 OS X SDK and 9.0 iOS SDK without replacement. So
emulate a synchronous request by using an asynchronous request and waiting on
a semaphore for the request completion.
BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675
BUG=569158
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1675243002 .
Diffstat (limited to 'src/common/android/testing/pthread_fixes.h')
0 files changed, 0 insertions, 0 deletions