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

Unified Diff: chrome/test/data/webui/print_preview_destination_search_test.js

Issue 2862203002: Print Preview: Fix data/ errors (Closed)
Patch Set: Fix destination resolver Created 3 years, 7 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 | « chrome/browser/resources/print_preview/search/provisional_destination_resolver.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/print_preview_destination_search_test.js
diff --git a/chrome/test/data/webui/print_preview_destination_search_test.js b/chrome/test/data/webui/print_preview_destination_search_test.js
index aaf509963fe2aebef94b200db1694681a456e732..b2f38db8730782a4749227cea1ce0c2898588900 100644
--- a/chrome/test/data/webui/print_preview_destination_search_test.js
+++ b/chrome/test/data/webui/print_preview_destination_search_test.js
@@ -129,14 +129,14 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() {
};
function requestSetup(destId, destinationSearch) {
- var origin = cr.isChromeOS ? print_preview.Destination.Origin.CROS :
- print_preview.Destination.Origin.LOCAL;
+ var origin = cr.isChromeOS ? print_preview.DestinationOrigin.CROS :
+ print_preview.DestinationOrigin.LOCAL;
var dest = new print_preview.Destination(destId,
- print_preview.Destination.Type.LOCAL,
+ print_preview.DestinationType.LOCAL,
origin,
"displayName",
- print_preview.Destination.ConnectionStatus.ONLINE);
+ print_preview.DestinationConnectionStatus.ONLINE);
// Add the destination to the list.
destinationSearch.localList_.updateDestinations([dest]);
@@ -230,10 +230,10 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() {
// Create cloud destination.
var cloudDest = new print_preview.Destination(printerId,
- print_preview.Destination.Type.GOOGLE,
- print_preview.Destination.Origin.DEVICE,
+ print_preview.DestinationType.GOOGLE,
+ print_preview.DestinationOrigin.DEVICE,
"displayName",
- print_preview.Destination.ConnectionStatus.ONLINE);
+ print_preview.DestinationConnectionStatus.ONLINE);
cloudDest.capabilities = getCaps();
// Place destination in the local list as happens for Kiosk printers.
« no previous file with comments | « chrome/browser/resources/print_preview/search/provisional_destination_resolver.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698