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

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: Reverted two changes 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..bea4e998266a61b0c6002e22f3219415ae0a61e7 100644
--- a/chrome/test/data/extensions/activity_log_app/background.js
+++ b/chrome/test/data/extensions/activity_log_app/background.js
@@ -1,7 +1,6 @@
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
function recordDevice(device) {
console.log("recordDevice");
}
@@ -11,3 +10,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