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

Unified Diff: ui/file_manager/file_manager/background/js/test_util.js

Issue 819953005: Files.app: Remove multi-profile related fileManagerPrivate APIs that are no more used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: ui/file_manager/file_manager/background/js/test_util.js
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
index 25ca7b6cfd7328e1fc03107f835bc3adae742c3f..08ea431369ac4dd2377df40331e6517ff68442d2 100644
--- a/ui/file_manager/file_manager/background/js/test_util.js
+++ b/ui/file_manager/file_manager/background/js/test_util.js
@@ -280,19 +280,6 @@ test.util.sync.getExecutedTasks = function(contentWindow) {
};
/**
- * Invoke chrome.fileManagerPrivate.visitDesktop(profileId) to cause window
- * teleportation.
- *
- * @param {Window} contentWindow Window to be tested.
- * @param {string} profileId Destination profile's ID.
- * @return {boolean} Always return true.
- */
-test.util.sync.visitDesktop = function(contentWindow, profileId) {
- contentWindow.chrome.fileManagerPrivate.visitDesktop(profileId);
- return true;
-};
-
-/**
* Runs the 'Move to profileId' menu.
*
* @param {Window} contentWindow Window to be tested.

Powered by Google App Engine
This is Rietveld 408576698