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

Unified Diff: chrome/browser/background/background_contents_service_unittest.cc

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync after elliot's r263101 Created 6 years, 8 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
Index: chrome/browser/background/background_contents_service_unittest.cc
===================================================================
--- chrome/browser/background/background_contents_service_unittest.cc (revision 263121)
+++ chrome/browser/background/background_contents_service_unittest.cc (working copy)
@@ -162,9 +162,6 @@
// Overridden from testing::Test
virtual void SetUp() {
BrowserWithTestWindowTest::SetUp();
- if (!NotificationUIManager::DelegatesToMessageCenter())
- return;
-
// In ChromeOS environment, BrowserWithTestWindowTest initializes
// MessageCenter.
#if !defined(OS_CHROMEOS)
@@ -348,9 +345,6 @@
#if defined(ENABLE_NOTIFICATIONS) && !defined(TOOLKIT_GTK)
TEST_F(BackgroundContentsServiceNotificationTest, TestShowBalloon) {
- if (!NotificationUIManager::DelegatesToMessageCenter())
- return;
-
scoped_refptr<extensions::Extension> extension =
extension_test_util::LoadManifest("image_loading_tracker", "app.json");
ASSERT_TRUE(extension.get());
@@ -363,9 +357,6 @@
// Verify if a test notification can show the default extension icon for
// a crash notification for an extension without icon.
TEST_F(BackgroundContentsServiceNotificationTest, TestShowBalloonNoIcon) {
- if (!NotificationUIManager::DelegatesToMessageCenter())
- return;
-
// Extension manifest file with no 'icon' field.
scoped_refptr<extensions::Extension> extension =
extension_test_util::LoadManifest("app", "manifest.json");
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698