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

Unified Diff: chrome/browser/resources/file_manager/js/background.js

Issue 22185002: Add browser test to the sharing dialog feature in Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added the licence header. Created 7 years, 4 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/browser/resources/file_manager/js/background.js
diff --git a/chrome/browser/resources/file_manager/js/background.js b/chrome/browser/resources/file_manager/js/background.js
index 5f646c280c62c78a29225f54015223ca33f3e3e2..206253422ddb8a03ef78eacbcad15a5a88fdd8a0 100644
--- a/chrome/browser/resources/file_manager/js/background.js
+++ b/chrome/browser/resources/file_manager/js/background.js
@@ -140,6 +140,8 @@ AppWindowWrapper.prototype.launch = function(appState, callback) {
contentWindow.appID = this.id_;
contentWindow.appState = this.appState_;
contentWindow.appInitialURL = this.url_;
+ if (window.IN_TEST)
+ contentWindow.IN_TEST = true;
appWindow.onClosed.addListener(function() {
if (contentWindow.unload)
contentWindow.unload();
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/resources/file_manager/js/share_client.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698