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

Unified Diff: chrome/test/data/extensions/activity_log_app/background.js

Issue 13726026: Added ActivityLog tests and associated bugfixes/extra logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added message passing test and logging Created 7 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/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");
+});

Powered by Google App Engine
This is Rietveld 408576698