Index: chrome/browser/extensions/platform_app_browsertest.cc |
diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc |
index 2b88475d157fad5a946465087e627259f2c9b143..f1dc4eab7d40c88cb1442fea22394791ef3b689b 100644 |
--- a/chrome/browser/extensions/platform_app_browsertest.cc |
+++ b/chrome/browser/extensions/platform_app_browsertest.cc |
@@ -42,6 +42,7 @@ |
#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/web_contents_view.h" |
#include "content/public/test/test_utils.h" |
+#include "net/test/embedded_test_server/embedded_test_server.h" |
#include "googleurl/src/gurl.h" |
using content::WebContents; |
@@ -345,8 +346,8 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, Isolation) { |
ASSERT_TRUE(StartTestServer()); |
// Load a (non-app) page under the "localhost" origin that sets a cookie. |
- GURL set_cookie_url = test_server()->GetURL( |
- "files/extensions/platform_apps/isolation/set_cookie.html"); |
+ GURL set_cookie_url = embedded_test_server()->GetURL( |
+ "/extensions/platform_apps/isolation/set_cookie.html"); |
GURL::Replacements replace_host; |
std::string host_str("localhost"); // Must stay in scope with replace_host. |
replace_host.SetHostStr(host_str); |