OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/timer/mock_timer.h" | 8 #include "base/timer/mock_timer.h" |
| 9 #include "build/build_config.h" |
9 #include "chrome/browser/extensions/extension_apitest.h" | 10 #include "chrome/browser/extensions/extension_apitest.h" |
10 #include "chrome/browser/extensions/extension_function_test_utils.h" | 11 #include "chrome/browser/extensions/extension_function_test_utils.h" |
11 #include "chrome/browser/extensions/extension_service.h" | 12 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
13 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
14 #include "extensions/browser/api/cast_channel/cast_channel_api.h" | 15 #include "extensions/browser/api/cast_channel/cast_channel_api.h" |
15 #include "extensions/browser/api/cast_channel/cast_socket.h" | 16 #include "extensions/browser/api/cast_channel/cast_socket.h" |
16 #include "extensions/browser/api/cast_channel/cast_test_util.h" | 17 #include "extensions/browser/api/cast_channel/cast_test_util.h" |
17 #include "extensions/browser/api/cast_channel/logger.h" | 18 #include "extensions/browser/api/cast_channel/logger.h" |
18 #include "extensions/common/api/cast_channel.h" | 19 #include "extensions/common/api/cast_channel.h" |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 #define MAYBE_TestSetAuthorityKeys DISABLED_TestSetAuthorityKeys | 571 #define MAYBE_TestSetAuthorityKeys DISABLED_TestSetAuthorityKeys |
571 #else | 572 #else |
572 #define MAYBE_TestSetAuthorityKeys TestSetAuthorityKeys | 573 #define MAYBE_TestSetAuthorityKeys TestSetAuthorityKeys |
573 #endif | 574 #endif |
574 // Test loading extension, opening a channel with ConnectInfo, adding a | 575 // Test loading extension, opening a channel with ConnectInfo, adding a |
575 // listener, writing, reading, and closing. | 576 // listener, writing, reading, and closing. |
576 IN_PROC_BROWSER_TEST_F(CastChannelAPITest, MAYBE_TestSetAuthorityKeys) { | 577 IN_PROC_BROWSER_TEST_F(CastChannelAPITest, MAYBE_TestSetAuthorityKeys) { |
577 EXPECT_TRUE( | 578 EXPECT_TRUE( |
578 RunExtensionSubtest("cast_channel/api", "test_authority_keys.html")); | 579 RunExtensionSubtest("cast_channel/api", "test_authority_keys.html")); |
579 } | 580 } |
OLD | NEW |