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

Unified Diff: chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js

Issue 642943002: Add tests for sync custom wallpaper feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add sync custom wallpaper tests in EventPageTest Created 6 years, 2 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/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js
diff --git a/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js b/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js
index f7318bcd47be23af2ca696daf8efa4623672333b..a994318d473951fea5716255c2892fbc9e6fb9d3 100644
--- a/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js
+++ b/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js
@@ -66,7 +66,13 @@ var chrome = {
wallpaperPrivate: {
getStrings: function(callback) {
callback({isExperimental: false});
+ },
+ setCustomWallpaper: function(data, layout, isGenerateThumbnail, fileName,
+ callback) {
}
+ },
+ runtime: {
+ lastError: null
}
};

Powered by Google App Engine
This is Rietveld 408576698