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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 1776253002: Remove references to CWNetwork. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp89_107_remoting
Patch Set: Fix compile error. Created 4 years, 9 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 | « no previous file | components/wifi/wifi_service_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/sdk_forward_declarations.h
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h
index 85c98e97438f61d22e9605bd0fffbb782b4503a9..c9b7d6473665e8da7b24e47a1ece6d9a18bc6748 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -552,34 +552,6 @@ BASE_EXPORT extern "C" void NSAccessibilityPostNotificationWithUserInfo(
#endif // MAC_OS_X_VERSION_10_10
// ----------------------------------------------------------------------------
-// Chrome uses -[CWNetwork securityMode] and -[CWNetwork rssi] on OSX 10.6. The
-// former method relies on the enum CWSecurityMode which was removed in the OSX
-// 10.9 SDK. In order for Chrome to compile against an OSX 10.9+ SDK, Chrome
-// must define this enum. Chrome must also declare these methods.
-//
-// These declarations and definitions will not be necessary once Chrome no
-// longer runs on OSX 10.6.
-// ----------------------------------------------------------------------------
-#if defined(MAC_OS_X_VERSION_10_9) && \
- MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_6
-typedef enum {
- kCWSecurityModeOpen = 0,
- kCWSecurityModeWEP,
- kCWSecurityModeWPA_PSK,
- kCWSecurityModeWPA2_PSK,
- kCWSecurityModeWPA_Enterprise,
- kCWSecurityModeWPA2_Enterprise,
- kCWSecurityModeWPS,
- kCWSecurityModeDynamicWEP
-} CWSecurityMode;
-
-@interface CWNetwork (SnowLeopardSDK)
-@property(readonly) NSNumber* rssi;
-@property(readonly) NSNumber* securityMode;
-@end
-#endif
-
-// ----------------------------------------------------------------------------
// The symbol for kCWSSIDDidChangeNotification is available in the
// CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not
// declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK,
« no previous file with comments | « no previous file | components/wifi/wifi_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698