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

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

Issue 1043793004: Disable Cloudbackup for RTL languages in M42, as it is not sufficiently well layed out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stub out chrome.i18n for device handler test. Created 5 years, 9 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 | « no previous file | ui/file_manager/file_manager/common/js/importer_common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/background/js/device_handler_unittest.js
diff --git a/ui/file_manager/file_manager/background/js/device_handler_unittest.js b/ui/file_manager/file_manager/background/js/device_handler_unittest.js
index 8c3510898682b03410999764fafe060773710876..a106bcbcd1ca8d279ab2e10606c0f09d92321bda 100644
--- a/ui/file_manager/file_manager/background/js/device_handler_unittest.js
+++ b/ui/file_manager/file_manager/background/js/device_handler_unittest.js
@@ -584,6 +584,11 @@ function setupChromeApis() {
}
}
},
+ i18n: {
+ getUILanguage: function() {
+ return 'en-US'
+ }
+ },
notifications: {
resolver: new importer.Resolver(),
create: function(id, params, callback) {
« no previous file with comments | « no previous file | ui/file_manager/file_manager/common/js/importer_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698