#include "chrome/browser/extensions/api/declarative_content/declarative_content_page_url_condition_tracker.h"
#include <set>
#include <vector>
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/test/values_test_util.h"
#include "chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h"
#include "chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h"
#include "components/url_matcher/url_matcher.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace extensions {
ElementsAre;
HasSubstr;
UnorderedElementsAre;
UnorderedElementsAreArray;
class DeclarativeContentPageUrlConditionTrackerTest
: public DeclarativeContentConditionTrackerTest { … };
TEST(DeclarativeContentPageUrlPredicateTest, WrongPageUrlDatatype) { … }
TEST(DeclarativeContentPageUrlPredicateTest, PageUrlPredicate) { … }
TEST_F(DeclarativeContentPageUrlConditionTrackerTest, AddAndRemovePredicates) { … }
TEST_F(DeclarativeContentPageUrlConditionTrackerTest, TrackWebContents) { … }
TEST_F(DeclarativeContentPageUrlConditionTrackerTest,
NotifyWebContentsNavigation) { … }
}