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

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 14370003: Use device Robot Account to access Cloud Print. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index cce4648ae05a7ff640942586e885f9f9c5e27c80..dd268b0b1e02e4ec3ccff51f759c92f63f164d81 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -284,7 +284,8 @@ cr.define('print_preview', function() {
if (destination.isRecent) {
recentDestinations.push(destination);
}
- if (destination.isLocal) {
+ if (destination.isLocal ||
+ destination.origin == print_preview.Destination.Origin.DEVICE) {
localDestinations.push(destination);
} else {
cloudDestinations.push(destination);

Powered by Google App Engine
This is Rietveld 408576698