Lines Matching refs:printer_name
163 const std::string& printer_name,
166 const std::string& printer_name,
169 const std::string& printer_name) OVERRIDE;
170 virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE;
201 info.is_default = (info.printer_name == default_printer);
217 const std::string& printer_name,
220 if (!printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) {
230 DCHECK_EQ(name, base::UTF8ToUTF16(printer_name));
288 const std::string& printer_name,
295 if (!IsValidPrinter(printer_name)) {
300 std::wstring printer_name_wide = base::UTF8ToWide(printer_name);
352 const std::string& printer_name) {
354 if (!printer.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) {
360 bool PrintBackendWin::IsValidPrinter(const std::string& printer_name) {
362 return printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str());