[unified-consent] Remove consent bump internals
Remove consent bump internals. This includes:
- API + tests from UnifiedConsentService
- Metrics
- Feature state and flags
Bug: 906026
Change-Id: Ibc12bee6ea661061530e321fe9c9e45363792f9d
Reviewed-on: https://chromium-review.googlesource.com/c/1355162
Reviewed-by: Jochen Eisinger <[email protected]>
Reviewed-by: Brian White <[email protected]>
Reviewed-by: David Roger <[email protected]>
Commit-Queue: Thomas Tangl <[email protected]>
Cr-Commit-Position: refs/heads/master@{#612621}
diff --git a/components/unified_consent/feature.h b/components/unified_consent/feature.h
index 21bd42d..bd59685 100644
--- a/components/unified_consent/feature.h
+++ b/components/unified_consent/feature.h
@@ -9,30 +9,12 @@
namespace unified_consent {
-// State of the "Unified Consent" feature.
-enum class UnifiedConsentFeatureState {
- // Unified consent is disabled.
- kDisabled,
- // Unified consent is enabled, but the bump is not shown.
- kEnabledNoBump,
- // Unified consent is enabled and the bump is shown.
- kEnabledWithBump
-};
-
-// Improved and unified consent for privacy-related features.
+// Single consent for Google services in Chrome.
extern const base::Feature kUnifiedConsent;
-extern const char kUnifiedConsentShowBumpParameter[];
-extern const base::Feature kForceUnifiedConsentBump;
-// Returns true if the unified consent feature state is kEnabledNoBump or
-// kEnabledWithBump. Note that the bump may not be enabled, even if this returns
-// true. To check if the bump is enabled, use
-// IsUnifiedConsentFeatureWithBumpEnabled().
+// Returns true if the unified consent feature state is enabled.
bool IsUnifiedConsentFeatureEnabled();
-// Returns true if the unified consent feature state is kEnabledWithBump.
-bool IsUnifiedConsentFeatureWithBumpEnabled();
-
} // namespace unified_consent
#endif // COMPONENTS_UNIFIED_CONSENT_FEATURE_H_