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

Unified Diff: chrome/browser/resources/print_preview/data/destination_store.js

Issue 2863183004: Print Preview: Fix top level directory compile errors (Closed)
Patch Set: Address comments 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
Index: chrome/browser/resources/print_preview/data/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 05c60f871da0efa41ac76155399390e5e8cfd374..bc55356e0587f8fe4b12b2ac9bb41e7fde933459 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -913,23 +913,23 @@ cr.define('print_preview', function() {
this.cloudPrintInterface_ = cloudPrintInterface;
this.tracker_.add(
this.cloudPrintInterface_,
- cloudprint.CloudPrintInterface.EventType.SEARCH_DONE,
+ cloudprint.CloudPrintInterfaceEventType.SEARCH_DONE,
this.onCloudPrintSearchDone_.bind(this));
this.tracker_.add(
this.cloudPrintInterface_,
- cloudprint.CloudPrintInterface.EventType.SEARCH_FAILED,
+ cloudprint.CloudPrintInterfaceEventType.SEARCH_FAILED,
this.onCloudPrintSearchDone_.bind(this));
this.tracker_.add(
this.cloudPrintInterface_,
- cloudprint.CloudPrintInterface.EventType.PRINTER_DONE,
+ cloudprint.CloudPrintInterfaceEventType.PRINTER_DONE,
this.onCloudPrintPrinterDone_.bind(this));
this.tracker_.add(
this.cloudPrintInterface_,
- cloudprint.CloudPrintInterface.EventType.PRINTER_FAILED,
+ cloudprint.CloudPrintInterfaceEventType.PRINTER_FAILED,
this.onCloudPrintPrinterFailed_.bind(this));
this.tracker_.add(
this.cloudPrintInterface_,
- cloudprint.CloudPrintInterface.EventType.PROCESS_INVITE_DONE,
+ cloudprint.CloudPrintInterfaceEventType.PROCESS_INVITE_DONE,
this.onCloudPrintProcessInviteDone_.bind(this));
},
@@ -1128,7 +1128,7 @@ cr.define('print_preview', function() {
if (origins.length == 0 ||
(opt_origin && origins.indexOf(opt_origin) < 0)) {
this.cloudPrintInterface_.search(
- this.userInfo_.activeUser || '', opt_origin);
+ this.userInfo_.activeUser, opt_origin);
cr.dispatchSimpleEvent(
this, DestinationStore.EventType.DESTINATION_SEARCH_STARTED);
}
« no previous file with comments | « chrome/browser/resources/print_preview/component.js ('k') | chrome/browser/resources/print_preview/data/invitation_store.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698