| 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");
|
| +});
|
|
|