| Index: chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
|
| index 9a0f518746f7846cc898cae2b977a58dfd0f5e7b..38d2e9625da6070ac8dae2ac62c8382f547e670d 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "net/test/embedded_test_server/embedded_test_server.h"
|
| #include "third_party/WebKit/public/web/WebContextMenuData.h"
|
|
|
| using content::WebContents;
|
| @@ -112,8 +113,8 @@ IN_PROC_BROWSER_TEST_F(RegisterProtocolHandlerBrowserTest,
|
| }
|
|
|
| IN_PROC_BROWSER_TEST_F(RegisterProtocolHandlerBrowserTest, CustomHandler) {
|
| - ASSERT_TRUE(test_server()->Start());
|
| - GURL handler_url = test_server()->GetURL("files/custom_handler_foo.html");
|
| + ASSERT_TRUE(embedded_test_server()->Start());
|
| + GURL handler_url = embedded_test_server()->GetURL("/custom_handler_foo.html");
|
| AddProtocolHandler("foo", handler_url);
|
|
|
| ui_test_utils::NavigateToURL(browser(), GURL("foo:test"));
|
|
|