Index: chrome/test/data/extensions/activity_log_app/background.js |
diff --git a/chrome/test/data/extensions/activity_log_app/background.js b/chrome/test/data/extensions/activity_log_app/background.js |
index 34f67fc118e55dfba08c22eb9d901c19e2568938..c6b7af7ac35fc0646bf9a6140ecab161b33e1855 100644 |
--- a/chrome/test/data/extensions/activity_log_app/background.js |
+++ b/chrome/test/data/extensions/activity_log_app/background.js |
@@ -11,3 +11,11 @@ chrome.app.runtime.onLaunched.addListener(function() { |
chrome.bluetooth.startDiscovery({deviceCallback: recordDevice}); |
chrome.bluetooth.stopDiscovery(); |
}); |
+ |
+chrome.runtime.onMessageExternal.addListener(function(message, sender, response) { |
+ response(); |
+}); |
+ |
+chrome.runtime.onConnectExternal.addListener(function(port) { |
+ console.log("connected"); |
+}); |