| Index: webrtc/base/proxydetect.cc
|
| diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc
|
| index 30959ca1d3f14198cd14597140e9a51cc9ad814e..1374284f269664183fd1d5b7e6bb106cfd2f083a 100644
|
| --- a/webrtc/base/proxydetect.cc
|
| +++ b/webrtc/base/proxydetect.cc
|
| @@ -391,6 +391,9 @@ bool GetFirefoxProfilePath(Pathname* path) {
|
| path->AppendFolder("Mozilla");
|
| path->AppendFolder("Firefox");
|
| #elif defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
|
| +// TODO(5478): Update deprecated APIs.
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Wdeprecated"
|
| FSRef fr;
|
| if (0 != FSFindFolder(kUserDomain, kApplicationSupportFolderType,
|
| kCreateFolder, &fr)) {
|
| @@ -405,6 +408,7 @@ bool GetFirefoxProfilePath(Pathname* path) {
|
| }
|
| path->SetFolder(std::string(buffer));
|
| path->AppendFolder("Firefox");
|
| +#pragma clang diagnostic pop
|
| #else
|
| char* user_home = getenv("HOME");
|
| if (user_home == NULL) {
|
|
|