Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Side by Side Diff: chrome/browser/extensions/api/music_manager_private/music_manager_private_browsertest.cc

Issue 2570573002: Convert RLZ to a buildflag header (Closed)
Patch Set: iOS Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/music_manager_private/device_id_win.cc ('k') | chrome/browser/extensions/install_signer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698