| Index: webrtc/base/proxydetect.cc
|
| diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc
|
| index 30959ca1d3f14198cd14597140e9a51cc9ad814e..1d828aa49253d84fdb8e317d9236114a99ed60f2 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(hjon): Update deprecated APIs (see webrtc:5478 for details).
|
| +#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) {
|
|
|