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

Unified Diff: webrtc/base/proxydetect.cc

Issue 2684613002: Delete webrtc/base/common.h (Closed)
Patch Set: Use #if instead of ATTRIBUTE_UNUSED. Created 3 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
Index: webrtc/base/proxydetect.cc
diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc
index b0fa30488a1eed3f770bf78afe6fe242b50447a5..8c3ff1d93ff9e439519c35274be29e3503c1da8a 100644
--- a/webrtc/base/proxydetect.cc
+++ b/webrtc/base/proxydetect.cc
@@ -34,12 +34,12 @@
#include "webrtc/base/arraysize.h"
#include "webrtc/base/checks.h"
-#include "webrtc/base/common.h"
#include "webrtc/base/fileutils.h"
#include "webrtc/base/httpcommon.h"
#include "webrtc/base/httpcommon-inl.h"
#include "webrtc/base/pathutils.h"
#include "webrtc/base/stringutils.h"
+#include "webrtc/common_types.h"
#define _TRY_JSPROXY 0
#define _TRY_WM_FINDPROXY 0
@@ -235,7 +235,7 @@ bool ProxyItemMatch(const Url<char>& url, char * item, size_t len) {
if (*item == '.') {
size_t hostlen = url.host().length();
return (hostlen > len)
- && (stricmp(url.host().c_str() + (hostlen - len), item) == 0);
+ && (STR_CASE_CMP(url.host().c_str() + (hostlen - len), item) == 0);
}
// localhost or www.*.com

Powered by Google App Engine
This is Rietveld 408576698