X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Ffile_manager%2Ffile_manager%2Fbackground%2Fjs%2Ftest_util.js;h=6b92b3b55059cdade17589906e04b15ef4b0e18c;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=a6d228aa554e2508b8e36d7f2a3411dcfdcff64a;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/file_manager/file_manager/background/js/test_util.js b/src/ui/file_manager/file_manager/background/js/test_util.js index a6d228a..6b92b3b 100644 --- a/src/ui/file_manager/file_manager/background/js/test_util.js +++ b/src/ui/file_manager/file_manager/background/js/test_util.js @@ -579,7 +579,7 @@ test.util.sync.overrideInstallWebstoreItemApi = }; test.util.executedTasks_ = []; - contentWindow.chrome.fileBrowserPrivate.installWebstoreItem = + contentWindow.chrome.fileManagerPrivate.installWebstoreItem = installWebstoreItem; return true; }; @@ -589,7 +589,7 @@ test.util.sync.overrideInstallWebstoreItemApi = * * @param {Window} contentWindow Window to be tested. * @param {Array.} taskList List of tasks to be returned in - * fileBrowserPrivate.getFileTasks(). + * fileManagerPrivate.getFileTasks(). * @return {boolean} Always return true. */ test.util.sync.overrideTasks = function(contentWindow, taskList) { @@ -611,9 +611,9 @@ test.util.sync.overrideTasks = function(contentWindow, taskList) { }; test.util.executedTasks_ = []; - contentWindow.chrome.fileBrowserPrivate.getFileTasks = getFileTasks; - contentWindow.chrome.fileBrowserPrivate.executeTask = executeTask; - contentWindow.chrome.fileBrowserPrivate.setDefaultTask = setDefaultTask; + contentWindow.chrome.fileManagerPrivate.getFileTasks = getFileTasks; + contentWindow.chrome.fileManagerPrivate.executeTask = executeTask; + contentWindow.chrome.fileManagerPrivate.setDefaultTask = setDefaultTask; return true; }; @@ -631,7 +631,7 @@ test.util.sync.getExecutedTasks = function(contentWindow) { }; /** - * Invoke chrome.fileBrowserPrivate.visitDesktop(profileId) to cause window + * Invoke chrome.fileManagerPrivate.visitDesktop(profileId) to cause window * teleportation. * * @param {Window} contentWindow Window to be tested. @@ -639,7 +639,7 @@ test.util.sync.getExecutedTasks = function(contentWindow) { * @return {boolean} Always return true. */ test.util.sync.visitDesktop = function(contentWindow, profileId) { - contentWindow.chrome.fileBrowserPrivate.visitDesktop(profileId); + contentWindow.chrome.fileManagerPrivate.visitDesktop(profileId); return true; };