#include "content/browser/browser_url_handler_impl.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_browser_context.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace content {
class BrowserURLHandlerImplTest : public testing::Test { … };
static bool FooRewriter(GURL* url, BrowserContext* browser_context) { … }
static bool BarRewriter(GURL* url, BrowserContext* browser_context) { … }
TEST_F(BrowserURLHandlerImplTest, BasicRewriteAndReverse) { … }
TEST_F(BrowserURLHandlerImplTest, NullHandlerReverse) { … }
TEST_F(BrowserURLHandlerImplTest, ViewSourceReverse) { … }
TEST_F(BrowserURLHandlerImplTest, GetPossibleRewrites) { … }
}