Index: chrome/browser/extensions/extension_dom_clipboard_apitest.cc |
diff --git a/chrome/browser/extensions/extension_dom_clipboard_apitest.cc b/chrome/browser/extensions/extension_dom_clipboard_apitest.cc |
index 0d63acbe40375ecfe918d3fb35f62803a9efb9dc..0715f06c2c84a445ed8f80ad9b6677e5552f8317 100644 |
--- a/chrome/browser/extensions/extension_dom_clipboard_apitest.cc |
+++ b/chrome/browser/extensions/extension_dom_clipboard_apitest.cc |
@@ -11,6 +11,7 @@ |
#include "content/public/test/browser_test_utils.h" |
#include "googleurl/src/gurl.h" |
#include "net/dns/mock_host_resolver.h" |
+#include "net/test/embedded_test_server/embedded_test_server.h" |
namespace { |
@@ -40,7 +41,8 @@ bool ClipboardApiTest::LoadHostedApp(const std::string& app_name, |
return false; |
} |
- GURL base_url = test_server()->GetURL("files/extensions/api_test/clipboard/"); |
+ GURL base_url = embedded_test_server()->GetURL( |
+ "/extensions/api_test/clipboard/"); |
GURL::Replacements replace_host; |
std::string host_str("localhost"); // Must stay in scope with replace_host. |
replace_host.SetHostStr(host_str); |