OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "build/build_config.h" |
6 #include "extensions/shell/test/shell_apitest.h" | 10 #include "extensions/shell/test/shell_apitest.h" |
7 #if defined(OS_CHROMEOS) | 11 #if defined(OS_CHROMEOS) |
8 #include "chromeos/audio/audio_devices_pref_handler_stub.h" | 12 #include "chromeos/audio/audio_devices_pref_handler_stub.h" |
9 #include "chromeos/audio/cras_audio_handler.h" | 13 #include "chromeos/audio/cras_audio_handler.h" |
10 #include "chromeos/dbus/dbus_thread_manager.h" | 14 #include "chromeos/dbus/dbus_thread_manager.h" |
11 #include "chromeos/dbus/fake_cras_audio_client.h" | 15 #include "chromeos/dbus/fake_cras_audio_client.h" |
12 #endif | 16 #endif |
13 #include "extensions/test/extension_test_message_listener.h" | 17 #include "extensions/test/extension_test_message_listener.h" |
14 | 18 |
15 namespace extensions { | 19 namespace extensions { |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 268 |
265 // Verify the background app got the onNodesChanged event | 269 // Verify the background app got the onNodesChanged event |
266 // with the last node removed. | 270 // with the last node removed. |
267 ASSERT_TRUE(result_listener.WaitUntilSatisfied()); | 271 ASSERT_TRUE(result_listener.WaitUntilSatisfied()); |
268 EXPECT_EQ("success", result_listener.message()); | 272 EXPECT_EQ("success", result_listener.message()); |
269 } | 273 } |
270 | 274 |
271 #endif // OS_CHROMEOS | 275 #endif // OS_CHROMEOS |
272 | 276 |
273 } // namespace extensions | 277 } // namespace extensions |
OLD | NEW |