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

Unified Diff: ui/file_manager/gallery/js/gallery_item_unittest.js

Issue 2678723002: Compile several targets in Gallery in gyp v2. (Closed)
Patch Set: Rebased. Created 3 years, 10 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 | « ui/file_manager/gallery/js/gallery_item.js ('k') | ui/file_manager/gallery/js/gallery_scripts.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/gallery_item_unittest.js
diff --git a/ui/file_manager/gallery/js/gallery_item_unittest.js b/ui/file_manager/gallery/js/gallery_item_unittest.js
index 8ce4bfff8d9138c56b4c8f5d9081ee3cf12c6798..a96d9335ff3652b815285ad4b5a9566788c152a7 100644
--- a/ui/file_manager/gallery/js/gallery_item_unittest.js
+++ b/ui/file_manager/gallery/js/gallery_item_unittest.js
@@ -3,15 +3,15 @@
// found in the LICENSE file.
/**
- * Mock of ImageUtil.
+ * Mock of ImageUtil and metrics.
*/
var ImageUtil = {
getMetricName: function() {},
- metrics: {
- recordEnum: function() {},
- recordInterval: function() {},
- startInterval: function() {}
- }
+};
+var metrics = {
+ recordEnum: function() {},
+ recordInterval: function() {},
+ startInterval: function() {}
};
/**
« no previous file with comments | « ui/file_manager/gallery/js/gallery_item.js ('k') | ui/file_manager/gallery/js/gallery_scripts.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698