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

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

Issue 69623002: Add new flag for Notification Center features that are not ready yet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « ui/message_center/message_center_util.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/message_center/message_center_util.h" 5 #include "ui/message_center/message_center_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "ui/message_center/message_center_switches.h" 8 #include "ui/message_center/message_center_switches.h"
9 9
10 namespace message_center { 10 namespace message_center {
(...skipping 13 matching lines...) Expand all
24 return false; 24 return false;
25 } 25 }
26 if (CommandLine::ForCurrentProcess()->HasSwitch( 26 if (CommandLine::ForCurrentProcess()->HasSwitch(
27 switches::kEnableRichNotifications)) { 27 switches::kEnableRichNotifications)) {
28 return true; 28 return true;
29 } 29 }
30 30
31 return true; 31 return true;
32 } 32 }
33 33
34 bool IsExperimentalNotificationUIEnabled() {
35 return CommandLine::ForCurrentProcess()->HasSwitch(
36 switches::kEnableExperimentalNotificationUI);
37 }
38
34 } // namespace message_center 39 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/message_center_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698