Commit 8b868ef0 authored by Mike Dougherty's avatar Mike Dougherty Committed by Commit Bot

Remove usage of no-op macro DEFINE_WEB_STATE_USER_DATA_KEY.

This CL removes macro usage from /ios/chrome/browser/ssl.

This CL was uploaded by git cl split.

R=estark@chromium.org

Bug: 589840
Change-Id: I603edc1c7e8aff2d4aae44722285ed7c0976c613
Reviewed-on: https://chromium-review.googlesource.com/c/1351966Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611951}
parent 7290f7e6
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
#error "This file requires ARC support." #error "This file requires ARC support."
#endif #endif
DEFINE_WEB_STATE_USER_DATA_KEY(CaptivePortalDetectorTabHelper);
// static // static
void CaptivePortalDetectorTabHelper::CreateForWebState( void CaptivePortalDetectorTabHelper::CreateForWebState(
web::WebState* web_state, web::WebState* web_state,
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#error "This file requires ARC support." #error "This file requires ARC support."
#endif #endif
DEFINE_WEB_STATE_USER_DATA_KEY(CaptivePortalMetricsTabHelper);
// Result of captive portal network check after a request takes longer than // Result of captive portal network check after a request takes longer than
// |kCaptivePortalTestDelayInMilliseconds|. // |kCaptivePortalTestDelayInMilliseconds|.
const char kCaptivePortalCausingTimeoutHistogram[] = const char kCaptivePortalCausingTimeoutHistogram[] =
......
...@@ -51,8 +51,6 @@ security_state::SSLStatusInputEventData* GetOrCreateSSLStatusInputEventData( ...@@ -51,8 +51,6 @@ security_state::SSLStatusInputEventData* GetOrCreateSSLStatusInputEventData(
} // namespace } // namespace
DEFINE_WEB_STATE_USER_DATA_KEY(InsecureInputTabHelper);
InsecureInputTabHelper::~InsecureInputTabHelper() = default; InsecureInputTabHelper::~InsecureInputTabHelper() = default;
// static // static
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#error "This file requires ARC support." #error "This file requires ARC support."
#endif #endif
DEFINE_WEB_STATE_USER_DATA_KEY(IOSSecurityStateTabHelper);
IOSSecurityStateTabHelper::IOSSecurityStateTabHelper(web::WebState* web_state) IOSSecurityStateTabHelper::IOSSecurityStateTabHelper(web::WebState* web_state)
: web_state_(web_state) {} : web_state_(web_state) {}
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#error "This file requires ARC support." #error "This file requires ARC support."
#endif #endif
DEFINE_WEB_STATE_USER_DATA_KEY(IOSSSLErrorHandler);
const char kSessionDetectionResultHistogram[] = const char kSessionDetectionResultHistogram[] =
"CaptivePortal.Session.DetectionResult"; "CaptivePortal.Session.DetectionResult";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment