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

Unified Diff: ui/file_manager/externs/gallery_foreground.js

Issue 817233002: Add window.IN_TEST in gallery/js/background.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | ui/file_manager/gallery/js/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/externs/gallery_foreground.js
diff --git a/ui/file_manager/externs/gallery_foreground.js b/ui/file_manager/externs/gallery_foreground.js
index cd9595c36b12ca506e1d39a3cd24340b53c524e6..7bc6804890353830f9c0171263bb0ebea4f53f16 100644
--- a/ui/file_manager/externs/gallery_foreground.js
+++ b/ui/file_manager/externs/gallery_foreground.js
@@ -36,6 +36,14 @@ function FileManager() {}
Window.prototype.appID;
/**
+ * A global flag which indicates whether it is in tests or not. This is set in
+ * gallery/js/background.js.
+ *
+ * @type {boolean}
+ */
+Window.prototype.IN_TEST;
+
+/**
* @type {string}
*/
Entry.prototype.cachedUrl;
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698