Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / extensions / extension_websocket_apitest.cc
blobf71ddb91e5ec5a12850409d82d6a7cd4718a47e6
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
3 // found in the LICENSE file.
5 #include "base/path_service.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "content/public/common/content_paths.h"
8 #include "net/base/test_data_directory.h"
9 #include "net/dns/mock_host_resolver.h"
11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) {
12 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory()));
13 ASSERT_TRUE(RunExtensionTest("websocket")) << message_;