#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#include "base/path_service.h"
#include "base/test/scoped_feature_list.h"
#include "components/url_rewrite/browser/url_request_rewrite_rules_manager.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/shell/browser/shell.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
namespace url_rewrite {
class UrlRequestRewriteRulesManagerBrowserTest
: public content::ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(UrlRequestRewriteRulesManagerBrowserTest,
AddRemoveWebContentsSucceeds) { … }
IN_PROC_BROWSER_TEST_F(UrlRequestRewriteRulesManagerBrowserTest,
RulesUpdatedWithSingleWebContents) { … }
IN_PROC_BROWSER_TEST_F(UrlRequestRewriteRulesManagerBrowserTest,
RulesUpdatedWithMultipleWebContents) { … }
IN_PROC_BROWSER_TEST_F(UrlRequestRewriteRulesManagerBrowserTest,
WebContentsAddedAfterNavigation) { … }
}