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

Unified Diff: chrome/test/webdriver/test/infobar_browser_action_extension/bg.js

Issue 23526047: Delete old chromedriver code, and remove mongoose webserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/webdriver/test/infobar_browser_action_extension/bg.js
diff --git a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js b/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js
deleted file mode 100644
index 5d29b54e45d8190f1d50010b597b236ecaf81418..0000000000000000000000000000000000000000
--- a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js
+++ /dev/null
@@ -1,20 +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 g_infobarReady = false;
-var g_callback = null;
-function waitForInfobar(callback) {
- if (g_infobarReady)
- callback();
- g_callback = callback;
-}
-
-chrome.tabs.getSelected(null, function(tab) {
- chrome.infobars.show(
- {'tabId': tab.id, 'path': 'view_checks.html'}, function() {
- g_infobarReady = true;
- if (g_callback)
- g_callback();
- });
-});

Powered by Google App Engine
This is Rietveld 408576698