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

Unified Diff: ash/common/system/system_notifier.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/networking_config_delegate.cc ('k') | ash/common/system/tray/actionable_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/system_notifier.cc
diff --git a/ash/common/system/system_notifier.cc b/ash/common/system/system_notifier.cc
index 8dfbff523cc67b3a714f30a697fae491bc6a42b7..94472e905f54e4a64ddb53a46737acde52205899 100644
--- a/ash/common/system/system_notifier.cc
+++ b/ash/common/system/system_notifier.cc
@@ -22,9 +22,7 @@ namespace {
// which can appear regardless of the situation, such like login screen or lock
// screen.
const char* kAlwaysShownSystemNotifierIds[] = {
- kNotifierDeprecatedAccelerator,
- kNotifierBattery,
- kNotifierDisplay,
+ kNotifierDeprecatedAccelerator, kNotifierBattery, kNotifierDisplay,
kNotifierDisplayError,
#if defined(OS_CHROMEOS)
ui::NetworkStateNotifier::kNotifierNetworkError,
@@ -37,27 +35,20 @@ const char* kAlwaysShownSystemNotifierIds[] = {
// |kAshSystemNotifiers| is the list of normal system notification sources for
// ash events. These notifications can be hidden in some context.
const char* kAshSystemNotifiers[] = {
- kNotifierBluetooth,
- kNotifierDisplayResolutionChange,
+ kNotifierBluetooth, kNotifierDisplayResolutionChange,
#if defined(OS_CHROMEOS)
- kNotifierDisk,
+ kNotifierDisk,
#endif
- kNotifierLocale,
- kNotifierMultiProfileFirstRun,
+ kNotifierLocale, kNotifierMultiProfileFirstRun,
#if defined(OS_CHROMEOS)
- ui::NetworkStateNotifier::kNotifierNetwork,
+ ui::NetworkStateNotifier::kNotifierNetwork,
#endif
- kNotifierNetworkPortalDetector,
- kNotifierScreenshot,
- kNotifierScreenCapture,
- kNotifierScreenShare,
- kNotifierSessionLengthTimeout,
- kNotifierSupervisedUser,
- kNotifierWebUsb,
- // Note: Order doesn't matter here, so keep this in alphabetic order, don't
- // just add your stuff at the end!
- NULL
-};
+ kNotifierNetworkPortalDetector, kNotifierScreenshot, kNotifierScreenCapture,
+ kNotifierScreenShare, kNotifierSessionLengthTimeout,
+ kNotifierSupervisedUser, kNotifierWebUsb,
+ // Note: Order doesn't matter here, so keep this in alphabetic order, don't
+ // just add your stuff at the end!
+ NULL};
bool MatchSystemNotifierId(const message_center::NotifierId& notifier_id,
const char* id_list[]) {
« no previous file with comments | « ash/common/system/networking_config_delegate.cc ('k') | ash/common/system/tray/actionable_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698