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

Unified Diff: chrome/service/cloud_print/print_system_win.cc

Issue 2713023005: Fix some nits from r447440. (Closed)
Patch Set: rebase, git cl format Created 3 years, 9 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/common/chrome_features.cc ('k') | chrome/utility/printing_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/print_system_win.cc
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index d0b731bd410382665cbdad26d0936cb62c1e55d3..335b678d7b4c5411da70d60a79765527c9a28c57 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -445,7 +445,7 @@ class JobSpoolerWin : public PrintSystem::JobSpooler {
// PDF that matches paper size and orientation.
if (utility_host->StartRenderPDFPagesToMetafile(
pdf_path, printing::PdfRenderSettings(
- render_area, gfx::Point(0,0), render_dpi,
+ render_area, gfx::Point(0, 0), render_dpi,
/*autorotate=*/false,
printing::PdfRenderSettings::Mode::NORMAL))) {
// The object will self-destruct when the child process dies.
@@ -756,7 +756,7 @@ bool PrintSystemWin::ValidatePrintTicket(
bool PrintSystemWin::GetJobDetails(const std::string& printer_name,
PlatformJobId job_id,
- PrintJobDetails *job_details) {
+ PrintJobDetails* job_details) {
crash_keys::ScopedPrinterInfo crash_key(
print_backend_->GetPrinterDriverInfo(printer_name));
DCHECK(job_details);
@@ -775,8 +775,8 @@ bool PrintSystemWin::GetJobDetails(const std::string& printer_name,
std::unique_ptr<BYTE[]> job_info_buffer(new BYTE[bytes_needed]);
if (GetJob(printer_handle.Get(), job_id, 1, job_info_buffer.get(),
bytes_needed, &bytes_needed)) {
- JOB_INFO_1 *job_info =
- reinterpret_cast<JOB_INFO_1 *>(job_info_buffer.get());
+ JOB_INFO_1* job_info =
+ reinterpret_cast<JOB_INFO_1*>(job_info_buffer.get());
if (job_info->pStatus) {
base::WideToUTF8(job_info->pStatus, wcslen(job_info->pStatus),
&job_details->status_message);
« no previous file with comments | « chrome/common/chrome_features.cc ('k') | chrome/utility/printing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698