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

Unified Diff: ash/common/system/web_notification/web_notification_tray.cc

Issue 2591553002: Remove non-cros support from ash/common/system. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index b6814039a77f344028998afda57d9a4733093c54..140276f98f41fd32cc39606d1e385b67eb30d7fc 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -45,20 +45,16 @@
#include "ui/views/controls/menu/menu_runner.h"
#include "ui/views/layout/fill_layout.h"
-#if defined(OS_CHROMEOS)
-
namespace message_center {
MessageCenterTrayDelegate* CreateMessageCenterTray() {
- // On Windows+Ash the Tray will not be hosted in ash::Shell.
+ // On non-CrOS, the Tray will not be hosted in ash::Shell.
NOTREACHED();
return nullptr;
}
} // namespace message_center
-#endif // defined(OS_CHROMEOS)
-
namespace ash {
namespace {
« ash/common/system/status_area_widget.h ('K') | « ash/common/system/user/tray_user_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698