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

Unified Diff: ios/net/protocol_handler_util.mm

Issue 2200323003: [Cronet] Add BUILD.gn for legacy ios/CrNet project. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix conditional include. Created 4 years, 4 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 | « ios/net/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/protocol_handler_util.mm
diff --git a/ios/net/protocol_handler_util.mm b/ios/net/protocol_handler_util.mm
index 0609d3145f8b78f8d587284217576a76bd12f066..b9b215213ce293fa74e4643b13c2fbf4da380f9f 100644
--- a/ios/net/protocol_handler_util.mm
+++ b/ios/net/protocol_handler_util.mm
@@ -7,8 +7,6 @@
#include <string>
#include "base/base64.h"
-#include "base/i18n/encoding_detection.h"
-#include "base/i18n/icu_string_conversions.h"
#include "base/logging.h"
#include "base/mac/scoped_nsobject.h"
#include "base/macros.h"
@@ -24,6 +22,11 @@
#include "url/gurl.h"
#include "url/url_features.h"
+#if !BUILDFLAG(USE_PLATFORM_ICU_ALTERNATIVES)
+#include "base/i18n/encoding_detection.h" // nogncheck
+#include "base/i18n/icu_string_conversions.h" // nogncheck
+#endif // !BUILDFLAG(USE_PLATFORM_ICU_ALTERNATIVES)
+
namespace {
// "Content-Type" HTTP header.
« no previous file with comments | « ios/net/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698