Lines Matching refs:ph3

523   ProtocolHandler ph3 = CreateProtocolHandler("ignore", GURL("http://test/%s"));  in TEST_F()  local
536 ASSERT_FALSE(registry()->SilentlyHandleRegisterHandlerRequest(ph3)); in TEST_F()
537 ASSERT_FALSE(registry()->IsRegistered(ph3)); in TEST_F()
539 registry()->OnIgnoreRegisterProtocolHandler(ph3); in TEST_F()
540 ASSERT_FALSE(registry()->IsRegistered(ph3)); in TEST_F()
541 ASSERT_TRUE(registry()->IsIgnored(ph3)); in TEST_F()
551 ProtocolHandler ph3 = CreateProtocolHandler("news", "test3"); in TEST_F() local
555 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
565 ProtocolHandler ph3 = CreateProtocolHandler("news", "test3"); in TEST_F() local
568 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
574 ASSERT_EQ(ph3, handlers[0]); in TEST_F()
694 ProtocolHandler ph3 = CreateProtocolHandler("mailto", "test3"); in TEST_F() local
697 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
699 ASSERT_TRUE(registry()->IsDefault(ph3)); in TEST_F()
700 registry()->RemoveHandler(ph3); in TEST_F()
702 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
703 ASSERT_TRUE(registry()->IsDefault(ph3)); in TEST_F()
705 ASSERT_TRUE(registry()->IsDefault(ph3)); in TEST_F()
706 registry()->RemoveHandler(ph3); in TEST_F()
713 ProtocolHandler ph3 = CreateProtocolHandler("mailto", "test3"); in TEST_F() local
716 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
717 registry()->RemoveHandler(ph3); in TEST_F()
743 ProtocolHandler ph3 = in TEST_F() local
746 registry()->OnAcceptRegisterProtocolHandler(ph3); in TEST_F()
749 ASSERT_EQ(handler.url(), ph3.url()); in TEST_F()
757 ProtocolHandler ph3 = in TEST_F() local
763 ASSERT_TRUE(registry()->AttemptReplace(ph3)); in TEST_F()
765 ASSERT_EQ(handler.url(), ph3.url()); in TEST_F()
766 registry()->RemoveHandler(ph3); in TEST_F()
775 ProtocolHandler ph3 = in TEST_F() local
781 ASSERT_EQ(ph2.url().GetOrigin() == ph3.url().GetOrigin(), in TEST_F()
782 ph2.IsSameOrigin(ph3)); in TEST_F()
783 ASSERT_EQ(ph3.url().GetOrigin() == ph2.url().GetOrigin(), in TEST_F()
784 ph3.IsSameOrigin(ph2)); in TEST_F()