Remove Mountain Lion code from WebCore
[WebKit.git] / Source / WebCore / platform / network / cocoa / CredentialCocoa.mm
index 660c126..d6961b6 100644 (file)
 #import "config.h"
 #import "CredentialCocoa.h"
 
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED == 1080
-// This value is available in OS X 10.8 but only appeared in the OS X 10.9 SDK.
-enum {
-    NSURLCredentialPersistenceSynchronizable = 3
-};
-#endif
-
 #if USE(CFNETWORK)
 @interface NSURLCredential (WebDetails)
 - (id)_initWithCFURLCredential:(CFURLCredentialRef)credential;
@@ -65,14 +58,7 @@ static CredentialPersistence toCredentialPersistence(NSURLCredentialPersistence
     case NSURLCredentialPersistenceForSession:
         return CredentialPersistenceForSession;
     case NSURLCredentialPersistencePermanent:
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED == 1080
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wswitch"
-#endif
     case NSURLCredentialPersistenceSynchronizable:
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED == 1080
-#pragma clang diagnostic pop
-#endif
         return CredentialPersistencePermanent;
     }