| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
| 6 #include "content/public/common/content_paths.h" | 6 #include "content/public/common/content_paths.h" |
| 7 #include "net/base/test_data_directory.h" | |
| 8 #include "net/dns/mock_host_resolver.h" | 7 #include "net/dns/mock_host_resolver.h" |
| 8 #include "net/test/test_data_directory.h" |
| 9 | 9 |
| 10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { | 10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { |
| 11 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory())); | 11 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory())); |
| 12 ASSERT_TRUE(RunExtensionTest("websocket")) << message_; | 12 ASSERT_TRUE(RunExtensionTest("websocket")) << message_; |
| 13 } | 13 } |
| OLD | NEW |