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

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

Issue 2591553002: Remove non-cros support from ash/common/system. (Closed)
Patch Set: jc review + rebase 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
« no previous file with comments | « ash/common/system/user/tray_user_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 756f5fef16363fc0100ad0e3a5aaf5534624aa5e..685195ae2ec48f2f68c7e763e7b0fe12738de698 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 {
« no previous file with comments | « 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