Home
last modified time | relevance | path

Searched refs:printer_list (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/printing/backend/
Dprint_backend_cups.cc111 virtual bool EnumeratePrinters(PrinterList* printer_list) OVERRIDE;
147 bool PrintBackendCUPS::EnumeratePrinters(PrinterList* printer_list) { in EnumeratePrinters() argument
148 DCHECK(printer_list); in EnumeratePrinters()
149 printer_list->clear(); in EnumeratePrinters()
199 printer_list->push_back(printer_info); in EnumeratePrinters()
206 << ", # of printers: " << printer_list->size(); in EnumeratePrinters()
287 PrinterList printer_list; in IsValidPrinter() local
288 EnumeratePrinters(&printer_list); in IsValidPrinter()
291 for (it = printer_list.begin(); it != printer_list.end(); ++it) in IsValidPrinter()
Dprint_backend_chromeos.cc17 virtual bool EnumeratePrinters(PrinterList* printer_list) OVERRIDE;
35 bool PrintBackendChromeOS::EnumeratePrinters(PrinterList* printer_list) { in EnumeratePrinters() argument
Dprint_backend_win.cc45 virtual bool EnumeratePrinters(PrinterList* printer_list) OVERRIDE;
61 bool PrintBackendWin::EnumeratePrinters(PrinterList* printer_list) { in EnumeratePrinters() argument
62 DCHECK(printer_list); in EnumeratePrinters()
87 printer_list->push_back(info); in EnumeratePrinters()
Dprint_backend.h75 virtual bool EnumeratePrinters(PrinterList* printer_list) = 0;
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_connector.cc236 ListValue* printer_list = NULL; in HandlePrinterListResponse() local
238 if (json_data->GetList(kPrinterListValue, &printer_list) && printer_list) { in HandlePrinterListResponse()
239 for (size_t index = 0; index < printer_list->GetSize(); index++) { in HandlePrinterListResponse()
241 if (printer_list->GetDictionary(index, &printer_data)) { in HandlePrinterListResponse()
321 ListValue* printer_list = NULL; in HandleRegisterPrinterResponse() local
323 if (json_data->GetList(kPrinterListValue, &printer_list)) { in HandleRegisterPrinterResponse()
325 if (printer_list->GetDictionary(0, &printer_data)) in HandleRegisterPrinterResponse()
377 printing::PrinterList* printer_list) { in RemovePrinterFromList() argument
378 for (printing::PrinterList::iterator index = printer_list->begin(); in RemovePrinterFromList()
379 index != printer_list->end(); index++) { in RemovePrinterFromList()
[all …]
Dprint_system_cups.cc83 printing::PrinterList* printer_list) OVERRIDE;
221 printing::PrinterList printer_list; in GetPrintersHash() local
222 print_system_->EnumeratePrinters(&printer_list); in GetPrintersHash()
227 for (it = printer_list.begin(); it != printer_list.end(); ++it) in GetPrintersHash()
512 printing::PrinterList* printer_list) { in EnumeratePrinters() argument
514 printer_list->clear(); in EnumeratePrinters()
517 printer_list->insert(printer_list->end(), in EnumeratePrinters()
520 VLOG(1) << "CP_CUPS: Total printers enumerated: " << printer_list->size(); in EnumeratePrinters()
Dprint_system_win.h19 printing::PrinterList* printer_list) OVERRIDE;
Dprint_system_win.cc210 printing::PrinterList* printer_list) { in EnumeratePrinters() argument
211 bool ret = print_backend_->EnumeratePrinters(printer_list); in EnumeratePrinters()
Dcloud_print_proxy_backend.h78 void RegisterPrinters(const printing::PrinterList& printer_list);
Dcloud_print_connector.h148 printing::PrinterList* printer_list);
Dprint_system.h169 printing::PrinterList* printer_list) = 0;
Dcloud_print_proxy_backend.cc65 const printing::PrinterList& printer_list);
99 const printing::PrinterList& printer_list);
Dprinter_job_handler_unittest.cc397 printing::PrinterList* printer_list));
/external/chromium_org/cloud_print/service/win/
Dservice_listener.cc25 printing::PrinterList printer_list; in GetEnvironment() local
26 backend->EnumeratePrinters(&printer_list); in GetEnvironment()
28 for (size_t i = 0; i < printer_list.size(); ++i) { in GetEnvironment()
29 printers->AppendString(printer_list[i].printer_name); in GetEnvironment()
Dchrome_launcher.cc291 base::ListValue printer_list; in CreateServiceStateFile() local
292 printer_list.AppendStrings(printers); in CreateServiceStateFile()
294 base::JSONWriter::Write(&printer_list, &printers_json); in CreateServiceStateFile()
/external/chromium/chrome/browser/printing/
Dprint_dialog_gtk.cc71 static bool SetPrinter(GtkPrinter* printer, GtkPrinterList* printer_list) { in SetPrinter() argument
73 printer_list->default_printer_ = printer; in SetPrinter()
76 printer_list->printers_.push_back(printer); in SetPrinter()
131 scoped_ptr<GtkPrinterList> printer_list(new GtkPrinterList); in UseDefaultSettings() local
132 printer_ = printer_list->default_printer(); in UseDefaultSettings()
155 scoped_ptr<GtkPrinterList> printer_list(new GtkPrinterList); in UpdateSettings() local
156 printer_ = printer_list->GetPrinterWithName(printer_name.c_str()); in UpdateSettings()
/external/chromium_org/chrome/browser/printing/cloud_print/
Dcloud_print_proxy_service.cc159 printing::PrinterList printer_list; in GetPrintersAvalibleForRegistration() local
163 backend->EnumeratePrinters(&printer_list); in GetPrintersAvalibleForRegistration()
164 for (size_t i = 0; i < printer_list.size(); ++i) in GetPrintersAvalibleForRegistration()
165 printers->push_back(printer_list[i].printer_name); in GetPrintersAvalibleForRegistration()
/external/chromium_org/chrome/browser/printing/
Dprint_dialog_gtk.cc104 GtkPrinterList* printer_list = reinterpret_cast<GtkPrinterList*>(data); in SetPrinter() local
106 printer_list->default_printer_ = printer; in SetPrinter()
109 printer_list->printers_.push_back(printer); in SetPrinter()
175 scoped_ptr<GtkPrinterList> printer_list(new GtkPrinterList); in UpdateSettings() local
176 printer_ = printer_list->GetPrinterWithName( in UpdateSettings()
/external/chromium/chrome/browser/ui/webui/
Dprint_preview_handler.cc100 printing::PrinterList printer_list; in EnumeratePrinters() local
101 print_backend_->EnumeratePrinters(&printer_list); in EnumeratePrinters()
103 for (printing::PrinterList::iterator index = printer_list.begin(); in EnumeratePrinters()
104 index != printer_list.end(); ++index, ++i) { in EnumeratePrinters()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_handler.cc283 printing::PrinterList printer_list; in EnumeratePrintersOnFileThread() local
284 print_backend->EnumeratePrinters(&printer_list); in EnumeratePrintersOnFileThread()
286 for (printing::PrinterList::iterator it = printer_list.begin(); in EnumeratePrintersOnFileThread()
287 it != printer_list.end(); ++it) { in EnumeratePrintersOnFileThread()