#include "components/feed/core/v2/stream/privacy_notice_card_tracker.h"
#include <string_view>
#include "base/time/time.h"
#include "components/feed/core/common/pref_names.h"
#include "components/feed/core/proto/v2/wire/content_id.pb.h"
#include "components/feed/core/v2/ios_shared_prefs.h"
#include "components/feed/core/v2/proto_util.h"
#include "components/feed/feed_feature_list.h"
#include "components/prefs/pref_service.h"
namespace feed {
namespace {
const int kViewsCountThreshold = …;
bool IsPrivacyNoticeCard(const feedwire::ContentId& id) { … }
}
PrivacyNoticeCardTracker::PrivacyNoticeCardTracker(PrefService* profile_prefs)
: … { … }
void PrivacyNoticeCardTracker::OnCardViewed(
bool is_signed_in,
const feedwire::ContentId& content_id) { … }
void PrivacyNoticeCardTracker::OnOpenAction(
const feedwire::ContentId& content_id) { … }
bool PrivacyNoticeCardTracker::HasAcknowledgedNoticeCard() const { … }
}