Commit b24b87a7 authored by Mike Dougherty's avatar Mike Dougherty Committed by Commit Bot

Remove DEFINE_WEB_STATE_USER_DATA_KEY macro.

This macro is a no-op and can can be safely removed.

Bug: 589840
Change-Id: If00faba34a0f10a3353bc2086329b1ba0c1a0901
Reviewed-on: https://chromium-review.googlesource.com/c/1355768Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613025}
parent 0ad9e350
...@@ -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(autofill::FormActivityTabHelper);
namespace autofill { namespace autofill {
namespace { namespace {
......
...@@ -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(favicon::WebFaviconDriver);
// Callback for the download of favicon. // Callback for the download of favicon.
using ImageDownloadCallback = using ImageDownloadCallback =
base::Callback<void(int image_id, base::Callback<void(int image_id,
......
...@@ -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(history::WebStateTopSitesObserver);
namespace history { namespace history {
// static // static
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
#include "components/language/core/browser/url_language_histogram.h" #include "components/language/core/browser/url_language_histogram.h"
#include "components/translate/core/common/language_detection_details.h" #include "components/translate/core/common/language_detection_details.h"
DEFINE_WEB_STATE_USER_DATA_KEY(language::IOSLanguageDetectionTabHelper);
namespace language { namespace language {
IOSLanguageDetectionTabHelper::IOSLanguageDetectionTabHelper( IOSLanguageDetectionTabHelper::IOSLanguageDetectionTabHelper(
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
using web::NavigationItem; using web::NavigationItem;
DEFINE_WEB_STATE_USER_DATA_KEY(IOSChromeSyncedTabDelegate);
namespace { namespace {
// Helper to access the correct NavigationItem, accounting for pending entries. // Helper to access the correct NavigationItem, accounting for pending entries.
......
...@@ -58,10 +58,6 @@ class WebStateUserData : public base::SupportsUserData::Data { ...@@ -58,10 +58,6 @@ class WebStateUserData : public base::SupportsUserData::Data {
} }
}; };
// Macro previously used to define the UserDataKey().
// TODO(crbug.com/589840): Remove this once all use have been deleted.
#define DEFINE_WEB_STATE_USER_DATA_KEY(TYPE)
} // namespace web } // namespace web
#endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_USER_DATA_H_ #endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_USER_DATA_H_
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