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

Side by Side Diff: chrome/browser/chromeos/printing/cups_print_job.cc

Issue 2435303003: [CUPS] Implement the Print Job notification. (Closed)
Patch Set: Fix the compile warning. Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/printing/cups_print_job.h"
6
7 #include "base/strings/string_number_conversions.h"
8
9 namespace chromeos {
10
11 CupsPrintJob::CupsPrintJob(const Printer& printer,
12 int job_id,
13 const std::string& document_title,
14 int total_page_number)
15 : printer_(printer),
16 job_id_(job_id),
17 document_title_(document_title),
18 total_page_number_(total_page_number) {}
19
20 CupsPrintJob::~CupsPrintJob() {}
21
22 std::string CupsPrintJob::GetUniqueId() const {
23 return printer_.id() + base::IntToString(job_id_);
24 }
25
26 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/printing/cups_print_job.h ('k') | chrome/browser/chromeos/printing/cups_print_job_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698