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

Unified Diff: chrome/test/data/extensions/api_test/media_galleries_private/attachdetach/test.js

Issue 10919276: Cleanup: Fix nits from r156409. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/media_galleries_private/attachdetach/test.js
===================================================================
--- chrome/test/data/extensions/api_test/media_galleries_private/attachdetach/test.js (revision 156605)
+++ chrome/test/data/extensions/api_test/media_galleries_private/attachdetach/test.js (working copy)
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var attached_device_id = '42';
+var attachedDeviceId = '42';
chrome.mediaGalleriesPrivate.onDeviceAttached.addListener(function(details) {
// Save the device id for the detach test.
- attached_device_id = details.deviceId;
+ attachedDeviceId = details.deviceId;
// The C++ test code will check if this is ok.
chrome.test.sendMessage('attach_test_ok,' + details.deviceName);
});
chrome.mediaGalleriesPrivate.onDeviceDetached.addListener(function(details) {
// The C++ test does not know the device id, so check here.
- if (details.deviceId != attached_device_id) {
+ if (details.deviceId != attachedDeviceId) {
chrome.test.fail('Bad device id in onDeviceDetached test.');
return;
}
« no previous file with comments | « chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698