Lines Matching defs:printer_name

53   bool Start(const std::string& printer_name, Delegate* delegate) {
56 printer_info_ = print_backend->GetPrinterDriverInfo(printer_name);
64 if (!printer_name.empty()) {
65 printer_name_wide = base::UTF8ToWide(printer_name);
170 explicit PrinterWatcherWin(const std::string& printer_name)
171 : printer_name_(printer_name),
227 const std::string& printer_name,
235 print_backend->GetPrinterDriverInfo(printer_name));
238 printer_name, job_title, delegate);
263 const std::string& printer_name,
271 base::string16 printer_wide = base::UTF8ToWide(printer_name);
310 bool ret = PrintXPSDocument(printer_name,
467 bool PrintXPSDocument(const std::string& printer_name,
482 base::UTF8ToWide(printer_name).c_str(),
543 const std::string& printer_name,
545 : printer_name_(printer_name), callback_(callback) {
556 const std::string& printer_name,
558 callback_.Run(succeeded, printer_name, caps_and_defaults);
565 const std::string& printer_name,
578 callback_.Run(succeeded, printer_name, printer_info);
645 const std::string& printer_name,
647 virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE;
649 const std::string& printer_name,
652 virtual bool GetJobDetails(const std::string& printer_name,
657 const std::string& printer_name) OVERRIDE;
664 const std::string& printer_name) const;
701 const std::string& printer_name,
706 PrinterCapsHandler* handler = new PrinterCapsHandler(printer_name, callback);
714 bool PrintSystemWin::IsValidPrinter(const std::string& printer_name) {
715 return print_backend_->IsValidPrinter(printer_name);
719 const std::string& printer_name,
722 crash_keys::ScopedPrinterInfo crash_key(GetPrinterDriverInfo(printer_name));
737 printing::XPSModule::OpenProvider(base::UTF8ToWide(printer_name), 1,
765 bool PrintSystemWin::GetJobDetails(const std::string& printer_name,
769 print_backend_->GetPrinterDriverInfo(printer_name));
772 std::wstring printer_name_wide = base::UTF8ToWide(printer_name);
816 const std::string& printer_name) {
817 DCHECK(!printer_name.empty());
818 return new PrinterWatcherWin(printer_name);
840 const std::string& printer_name) const {
841 return print_backend_->GetPrinterDriverInfo(printer_name);