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

Unified Diff: chrome/browser/resources/settings/printing_page/cups_printer_details_page.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 years, 6 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/settings/printing_page/cups_printer_details_page.js
diff --git a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
index 5fc53e43043862749b21003753ac7d36c3e8bd49..57398578dbe86443043c42f5837a61c1bd6d5c6d 100644
--- a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
+++ b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
@@ -35,8 +35,8 @@ Polymer({
* @private
*/
onValueChange_: function() {
- this.browserProxy_.updateCupsPrinter(this.printer.printerId,
- this.printer.printerName);
+ this.browserProxy_.updateCupsPrinter(
+ this.printer.printerId, this.printer.printerName);
},
/**
@@ -82,12 +82,11 @@ Polymer({
getPrinterURI_: function(printer) {
if (!printer) {
return '';
- } else if (printer.printerProtocol &&
- printer.printerAddress &&
- printer.printerQueue) {
- return printer.printerProtocol + '://' +
- printer.printerAddress + '/' +
- printer.printerQueue;
+ } else if (
+ printer.printerProtocol && printer.printerAddress &&
+ printer.printerQueue) {
+ return printer.printerProtocol + '://' + printer.printerAddress + '/' +
+ printer.printerQueue;
} else if (printer.printerProtocol && printer.printerAddress) {
return printer.printerProtocol + '://' + printer.printerAddress;
} else {

Powered by Google App Engine
This is Rietveld 408576698