Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: webrtc/base/proxydetect.cc

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/macwindowpicker.cc ('k') | webrtc/base/unixfilesystem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « webrtc/base/macwindowpicker.cc ('k') | webrtc/base/unixfilesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698