| 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..add0e8f23975c8da7119d296e9293b4b2c813d29 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,12 @@ 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");
|
| +});
|
|
|