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

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/gcd_private/api/send_query.js

Issue 385483002: Probably broke Win7 Tests (dbg)(6). http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%… (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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: trunk/src/chrome/test/data/extensions/api_test/gcd_private/api/send_query.js
===================================================================
--- trunk/src/chrome/test/data/extensions/api_test/gcd_private/api/send_query.js (revision 282174)
+++ trunk/src/chrome/test/data/extensions/api_test/gcd_private/api/send_query.js (working copy)
@@ -4,10 +4,11 @@
onload = function() {
chrome.test.runTests([
- function receiveNewDevice() {
- chrome.gcdPrivate.onDeviceStateChanged.addListener(function(device) {});
- chrome.gcdPrivate.queryForNewLocalDevices();
- chrome.test.notifyPass();
- }
- ]);
+ function receiveNewDevice() {
+ chrome.gcdPrivate.onCloudDeviceStateChanged.addListener(
+ function(available, device) {});
+
+ chrome.gcdPrivate.queryForNewLocalDevices();
+ chrome.test.notifyPass();
+ }]);
};

Powered by Google App Engine
This is Rietveld 408576698