Index: chrome/browser/extensions/stubs_apitest.cc |
diff --git a/chrome/browser/extensions/stubs_apitest.cc b/chrome/browser/extensions/stubs_apitest.cc |
index 7a5a4072a4e0532590fa4d9b8f9f584238e0bc57..982d3171dba559f06d7b8d39d5d0a80e431cf6e5 100644 |
--- a/chrome/browser/extensions/stubs_apitest.cc |
+++ b/chrome/browser/extensions/stubs_apitest.cc |
@@ -6,7 +6,7 @@ |
#include "chrome/common/chrome_paths.h" |
#include "chrome/test/base/ui_test_utils.h" |
#include "googleurl/src/gurl.h" |
-#include "net/test/spawned_test_server/spawned_test_server.h" |
+#include "net/test/embedded_test_server/embedded_test_server.h" |
// Tests that we throw errors when you try using extension APIs that aren't |
// supported in content scripts. |
@@ -17,13 +17,13 @@ |
#define MAYBE_Stubs Stubs |
#endif |
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_Stubs) { |
- ASSERT_TRUE(test_server()->Start()); |
+ ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); |
ASSERT_TRUE(RunExtensionTest("stubs")) << message_; |
// Navigate to a simple http:// page, which should get the content script |
// injected and run the rest of the test. |
- GURL url(test_server()->GetURL("file/extensions/test_file.html")); |
+ GURL url(embedded_test_server()->GetURL("/extensions/test_file.html")); |
ui_test_utils::NavigateToURL(browser(), url); |
ResultCatcher catcher; |