| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "chrome/browser/apps/app_browsertest_util.h" | 6 #include "chrome/browser/apps/app_browsertest_util.h" |
| 7 #include "extensions/test/extension_test_message_listener.h" | 7 #include "extensions/test/extension_test_message_listener.h" |
| 8 #include "rlz/features/features.h" |
| 8 | 9 |
| 9 // Supported on all platforms, but on Windows only if RLZ is enabled. | 10 // Supported on all platforms, but on Windows only if RLZ is enabled. |
| 10 #if !defined(OS_WIN) || defined(ENABLE_RLZ) | 11 #if !defined(OS_WIN) || BUILDFLAG(ENABLE_RLZ) |
| 11 | 12 |
| 12 class MusicManagerPrivateTest : public extensions::PlatformAppBrowserTest { | 13 class MusicManagerPrivateTest : public extensions::PlatformAppBrowserTest { |
| 13 }; | 14 }; |
| 14 | 15 |
| 15 IN_PROC_BROWSER_TEST_F(MusicManagerPrivateTest, DeviceIdValueReturned) { | 16 IN_PROC_BROWSER_TEST_F(MusicManagerPrivateTest, DeviceIdValueReturned) { |
| 16 ASSERT_TRUE(RunPlatformAppTest( | 17 ASSERT_TRUE(RunPlatformAppTest( |
| 17 "platform_apps/music_manager_private/device_id_value_returned")) | 18 "platform_apps/music_manager_private/device_id_value_returned")) |
| 18 << message_; | 19 << message_; |
| 19 } | 20 } |
| 20 | 21 |
| 21 #endif | 22 #endif |
| OLD | NEW |