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

Side by Side Diff: ui/message_center/message_center_util.h

Issue 15025002: Remove ENABLE_MESSAGE_CENTER (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one moer fix Created 7 years, 7 months 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 | Annotate | Revision Log
OLDNEW
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 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
7 7
8 #include "ui/message_center/message_center_export.h" 8 #include "ui/message_center/message_center_export.h"
9 9
10 namespace message_center { 10 namespace message_center {
11 11
12 MESSAGE_CENTER_EXPORT bool IsRichNotificationEnabled(); 12 MESSAGE_CENTER_EXPORT bool IsRichNotificationEnabled();
13 13
14 #define SKIP_THIS_TEST_IF_MESSAGE_CENTER_DISABLED() \
15 if (!message_center::IsRichNotificationEnabled()) { \
16 LOG(INFO) << "Test is skiped because Rich Notifications are disabled."; \
17 return; \
18 }
19
14 } // namespace message_center 20 } // namespace message_center
15 21
16 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ 22 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698