Index: chrome/browser/resources/google_now/background_test_util.js |
diff --git a/chrome/browser/resources/google_now/background_test_util.js b/chrome/browser/resources/google_now/background_test_util.js |
index 52d77dafff3737b007e2ca0f6a264075cdc3b137..7f6e4aa0d2142253ca7b4cb1f995a6e7020c5e7f 100644 |
--- a/chrome/browser/resources/google_now/background_test_util.js |
+++ b/chrome/browser/resources/google_now/background_test_util.js |
@@ -18,12 +18,12 @@ var buildAttemptManager = emptyMock; |
var buildCardSet = emptyMock; |
var instrumented = {}; |
+mockChromeEvent(instrumented, 'gcm.onMessage'); |
mockChromeEvent(instrumented, 'notifications.onButtonClicked'); |
mockChromeEvent(instrumented, 'notifications.onClicked'); |
mockChromeEvent(instrumented, 'notifications.onClosed'); |
mockChromeEvent(instrumented, 'notifications.onPermissionLevelChanged'); |
mockChromeEvent(instrumented, 'notifications.onShowSettings'); |
-mockChromeEvent(instrumented, 'pushMessaging.onMessage'); |
mockChromeEvent(instrumented, 'runtime.onInstalled'); |
mockChromeEvent(instrumented, 'runtime.onStartup'); |
mockChromeEvent(instrumented, 'storage.onChanged'); |