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

Unified Diff: chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm

Issue 2805061: Build fix (Closed)
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm
diff --git a/chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm b/chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm
index 31b56cf4a97fb7518cc5604526c44b98aadf59c9..4ecc51ad3343c2043db291e6e82af50cb0889d23 100644
--- a/chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm
+++ b/chrome/browser/cocoa/content_blocked_bubble_controller_unittest.mm
@@ -31,6 +31,9 @@ class ContentBlockedBubbleControllerTest : public CocoaTest {
// Check that the bubble doesn't crash or leak for any settings type
TEST_F(ContentBlockedBubbleControllerTest, Init) {
for (int i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) {
+ if (i == CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
+ continue; // Notifications have no bubble.
+
ContentSettingsType settingsType = static_cast<ContentSettingsType>(i);
scoped_nsobject<NSWindow> parent([[NSWindow alloc]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698