#include "extensions/browser/api/declarative_net_request/action_tracker.h"
#include <string_view>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/test/simple_test_clock.h"
#include "base/test/test_mock_time_task_runner.h"
#include "base/time/time.h"
#include "chrome/browser/extensions/api/declarative_net_request/dnr_test_base.h"
#include "chrome/browser/extensions/chrome_test_extension_loader.h"
#include "extensions/browser/api/web_request/web_request_info.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_util.h"
#include "extensions/common/api/declarative_net_request/constants.h"
#include "extensions/common/api/declarative_net_request/test_utils.h"
#include "extensions/common/constants.h"
#include "services/network/public/mojom/fetch_api.mojom-shared.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/loader/resource_load_info.mojom-shared.h"
#include "url/gurl.h"
namespace extensions {
namespace declarative_net_request {
namespace {
constexpr int64_t kNavigationId = …;
class ActionTrackerTest : public DNRTestBase { … };
TEST_P(ActionTrackerTest, GetMatchedRulesNoPermission) { … }
TEST_P(ActionTrackerTest, GetMatchedRulesLifespan) { … }
TEST_P(ActionTrackerTest, RulesClearedOnTimer) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}
}