| Index: chrome/test/data/extensions/devtools/timeline_api_two/background_two.js
|
| diff --git a/chrome/test/data/extensions/devtools/timeline_api_two/background_two.js b/chrome/test/data/extensions/devtools/timeline_api_two/background_two.js
|
| deleted file mode 100644
|
| index f3869e069664932ab5ed44d50ef8ccf652251a0b..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/extensions/devtools/timeline_api_two/background_two.js
|
| +++ /dev/null
|
| @@ -1,26 +0,0 @@
|
| -// Copyright (c) 2011 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.
|
| -
|
| -var devtoolsTabEvents = undefined;
|
| -
|
| -function pageEventListener() {
|
| - receivedEvents.push("onPageEvent");
|
| -}
|
| -
|
| -function tabCloseListener() {
|
| - receivedEvents.push("onTabClose");
|
| -}
|
| -
|
| -function registerListenersForTab(tabId) {
|
| - devtoolsTabEvents = chrome.devtools.getTabEvents(tabId);
|
| - devtoolsTabEvents.onPageEvent.addListener(pageEventListener);
|
| - devtoolsTabEvents.onTabClose.addListener(tabCloseListener);
|
| - window.domAutomationController.send(true);
|
| -}
|
| -
|
| -function unregisterListeners() {
|
| - devtoolsTabEvents.onPageEvent.removeListener(pageEventListener);
|
| - devtoolsTabEvents.onTabClose.removeListener(tabCloseListener);
|
| - window.domAutomationController.send(true);
|
| -}
|
|
|