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

Unified Diff: base/ios/device_util_unittest.mm

Issue 349453002: Remove IsRunningOnIOS6OrLater (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « base/ios/device_util.mm ('k') | base/ios/ios_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/ios/device_util_unittest.mm
diff --git a/base/ios/device_util_unittest.mm b/base/ios/device_util_unittest.mm
index 688acc10eabcc66734449ebbd4a8e5b1ab0edffc..3494e00a73eb9029f4d839fa78792e1672864d35 100644
--- a/base/ios/device_util_unittest.mm
+++ b/base/ios/device_util_unittest.mm
@@ -52,8 +52,7 @@ TEST_F(DeviceUtilTest, GetDeviceIdentifier) {
CleanNSUserDefaultsForDeviceId();
std::string new_default_id = ios::device_util::GetDeviceIdentifier(NULL);
- if (base::ios::IsRunningOnIOS6OrLater() &&
- ![[[[UIDevice currentDevice] identifierForVendor] UUIDString]
+ if (![[[[UIDevice currentDevice] identifierForVendor] UUIDString]
isEqualToString:@"00000000-0000-0000-0000-000000000000"]) {
EXPECT_EQ(default_id, new_default_id);
} else {
« no previous file with comments | « base/ios/device_util.mm ('k') | base/ios/ios_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698