Index: ios/net/cookies/cookie_store_ios.mm |
diff --git a/ios/net/cookies/cookie_store_ios.mm b/ios/net/cookies/cookie_store_ios.mm |
index fb231140ed3e006115b3921dd3f391a7bd30866f..8576980aca272232bf3e0fb786070f4e505e66ff 100644 |
--- a/ios/net/cookies/cookie_store_ios.mm |
+++ b/ios/net/cookies/cookie_store_ios.mm |
@@ -28,6 +28,7 @@ |
#include "ios/net/cookies/cookie_creation_time_manager.h" |
#include "ios/net/cookies/cookie_store_ios_client.h" |
#include "ios/net/cookies/system_cookie_util.h" |
+#include "ios/net/ios_net_features.h" |
#import "net/base/mac/url_conversions.h" |
#include "net/cookies/cookie_util.h" |
#include "net/cookies/parsed_cookie.h" |
@@ -175,11 +176,11 @@ NSInteger CompareCookies(id a, id b, void* context) { |
DCHECK(manager); |
base::Time created_a = manager->GetCreationTime(cookie_a); |
base::Time created_b = manager->GetCreationTime(cookie_b); |
-#if !defined(CRNET) |
+#if !BUILDFLAG(CRONET_BUILD) |
// CookieCreationTimeManager is returning creation times that are null. |
- // Since in CrNet, the cookie store is recreated on startup, let's suppress |
+ // Since in Cronet, the cookie store is recreated on startup, let's suppress |
// this warning for now. |
- // TODO(huey): Instead of suppressing the warning, assign a creation time |
+ // TODO(mef): Instead of suppressing the warning, assign a creation time |
// to cookies if one doesn't already exist. |
DLOG_IF(ERROR, created_a.is_null() || created_b.is_null()) |
<< "Cookie without creation date"; |