/external/chromium_org/printing/ |
printing_test.h | 25 wchar_t printer_name[MAX_PATH]; local 26 DWORD size = arraysize(printer_name); 27 BOOL result = ::GetDefaultPrinter(printer_name, &size); 36 return printer_name;
|
/external/chromium_org/printing/backend/ |
print_backend_chromeos.cc | 20 const std::string& printer_name, 23 const std::string& printer_name, 26 const std::string& printer_name) OVERRIDE; 27 virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE; 40 const std::string& printer_name, 47 const std::string& printer_name, 54 const std::string& printer_name) { 63 bool PrintBackendChromeOS::IsValidPrinter(const std::string& printer_name) {
|
print_backend_cups.cc | 40 const std::string& printer_name, 43 const std::string& printer_name, 46 const std::string& printer_name) OVERRIDE; 47 virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE; 100 printer_info.printer_name = printer.name; 147 const std::string& printer_name, 150 if (!GetPrinterCapsAndDefaults(printer_name, &info) ) 154 printer_name, info.printer_capabilities, printer_info); 158 const std::string& printer_name, 163 << ", printer name: " << printer_name; [all...] |
print_backend.h | 28 std::string printer_name; member in struct:printing::PrinterBasicInfo 97 const std::string& printer_name, 102 const std::string& printer_name, 107 const std::string& printer_name) = 0; 109 // Returns true if printer_name points to a valid printer. 110 virtual bool IsValidPrinter(const std::string& printer_name) = 0;
|
cups_helper.h | 40 const std::string& printer_name,
|
print_backend_win.cc | 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)) { [all...] |
win_helper.cc | 24 typedef HRESULT (WINAPI* PTOpenProviderProc)(PCWSTR printer_name, 62 const LPCWSTR printer_name, 182 HRESULT XPSModule::OpenProvider(const base::string16& printer_name, 185 return g_open_provider_proc(printer_name.c_str(), version, provider); 300 const LPCWSTR printer_name, 310 return g_start_xps_print_job_proc(printer_name, 332 printer_info->printer_name = base::WideToUTF8(info_2.get()->pPrinterName); 389 const base::string16& printer_name, 399 if (!printer.OpenPrinter(printer_name.c_str())) 408 hr = printing::XPSModule::OpenProvider(printer_name, 1, &provider) [all...] |
win_helper.h | 98 static HRESULT OpenProvider(const base::string16& printer_name, 153 const LPCWSTR printer_name, 174 const base::string16& printer_name, 181 const base::string16& printer_name, 192 const base::string16& printer_name,
|
/external/chromium_org/chrome/service/ |
service_utility_process_host.h | 62 const std::string& printer_name, 69 const std::string& printer_name, 101 bool StartGetPrinterCapsAndDefaults(const std::string& printer_name); 107 bool StartGetPrinterSemanticCapsAndDefaults(const std::string& printer_name); 136 const std::string& printer_name, 138 void OnGetPrinterCapsAndDefaultsFailed(const std::string& printer_name); 140 const std::string& printer_name, 143 const std::string& printer_name);
|
service_utility_process_host.cc | 186 const std::string& printer_name) { 193 return Send(new ChromeUtilityMsg_GetPrinterCapsAndDefaults(printer_name)); 197 const std::string& printer_name) { 205 new ChromeUtilityMsg_GetPrinterSemanticCapsAndDefaults(printer_name)); 357 const std::string& printer_name, 367 printer_name, caps_and_defaults)); 371 const std::string& printer_name, 381 true, printer_name, caps_and_defaults)); 385 const std::string& printer_name) { 394 printer_name, printing::PrinterCapsAndDefaults())) [all...] |
/external/chromium_org/chrome/service/cloud_print/ |
cdd_conversion_win.h | 19 const base::string16& printer_name,
|
print_system.h | 136 const std::string& printer_name, 174 const std::string& printer_name, 177 // Returns true if printer_name points to a valid printer. 178 virtual bool IsValidPrinter(const std::string& printer_name) = 0; 182 const std::string& printer_name, 187 virtual bool GetJobDetails(const std::string& printer_name, 195 const std::string& printer_name) = 0;
|
print_system_cups.cc | 83 const std::string& printer_name, 85 virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE; 87 const std::string& printer_name, 90 virtual bool GetJobDetails(const std::string& printer_name, 95 const std::string& printer_name) OVERRIDE; 104 const std::string& printer_name, 108 bool GetPrinterInfo(const std::string& printer_name, 115 const std::string& printer_name, 158 const std::string& printer_name, 228 printers.push_back(it->printer_name); [all...] |
print_system_win.cc | 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); 258 const std::string& printer_name, [all...] |
cloud_print_connector.cc | 116 if (settings_.ShouldConnect(it->printer_name)) 243 std::string printer_name; local 244 printer_data->GetString(kNameValue, &printer_name); 248 if (!settings_.ShouldConnect(printer_name)) { 249 VLOG(1) << "CP_CONNECTOR: Deleting " << printer_name << 252 } else if (RemovePrinterFromList(printer_name, &local_printers)) { 259 VLOG(1) << "CP_CONNECTOR: Deleting " << printer_name << 265 LOG(ERROR) << "CP_CONNECTOR: Printer: " << printer_name << 377 const std::string& printer_name, 381 if (IsSamePrinter(index->printer_name, printer_name)) [all...] |
connector_settings.h | 56 bool ShouldConnect(const std::string& printer_name) const;
|
job_status_updater.cc | 28 JobStatusUpdater::JobStatusUpdater(const std::string& printer_name, 35 printer_name_(printer_name),
|
cdd_conversion_win.cc | 19 const base::string16& printer_name, 29 if (!printer.OpenPrinter(printer_name.c_str())) 36 dev_mode = printing::CreateDevModeWithColor(printer.Get(), printer_name,
|
cloud_print_connector.h | 90 virtual void OnPrinterDeleted(const std::string& printer_name) OVERRIDE; 147 bool RemovePrinterFromList(const std::string& printer_name, 166 const std::string& printer_name,
|
connector_settings.cc | 97 bool ConnectorSettings::ShouldConnect(const std::string& printer_name) const { 98 Printers::const_iterator printer = printers_.find(printer_name);
|
printer_job_handler.cc | 86 if (!print_system_->IsValidPrinter(printer_info_.printer_name)) 90 printer_info_.printer_name); 97 return printer_info_.printer_name; 359 if (print_system_->ValidatePrintTicket(printer_info_.printer_name, data, 486 << ", printer name: " << printer_info_.printer_name.c_str() 526 printer_info_.printer_name)); 619 new JobStatusUpdater(printer_info_.printer_name, job_details_.job_id_, 654 printer_info.printer_name.c_str(), 670 << ", printer name: " << printer_info_.printer_name 678 const std::string& printer_name, [all...] |
job_status_updater.h | 36 JobStatusUpdater(const std::string& printer_name,
|
/external/chromium_org/chrome/utility/ |
printing_handler.h | 66 void OnGetPrinterCapsAndDefaults(const std::string& printer_name); 67 void OnGetPrinterSemanticCapsAndDefaults(const std::string& printer_name);
|
printing_handler.cc | 490 const std::string& printer_name) { 496 print_backend->GetPrinterDriverInfo(printer_name)); 498 if (print_backend->GetPrinterCapsAndDefaults(printer_name, &printer_info)) { 500 printer_name, printer_info)); 503 printer_name)); 509 const std::string& printer_name) { 515 print_backend->GetPrinterDriverInfo(printer_name)); 517 if (print_backend->GetPrinterSemanticCapsAndDefaults(printer_name, 520 printer_name, printer_info)); 523 printer_name)); [all...] |
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
print_preview_handler.cc | 378 const std::string& printer_name) { 384 VLOG(1) << "Get printer capabilities start for " << printer_name; 386 print_backend->GetPrinterDriverInfo(printer_name)); 388 if (!print_backend->IsValidPrinter(printer_name)) { 389 LOG(WARNING) << "Invalid printer " << printer_name; 394 if (!print_backend->GetPrinterSemanticCapsAndDefaults(printer_name, &info)) { 395 LOG(WARNING) << "Failed to get capabilities for " << printer_name; 402 LOG(WARNING) << "Failed to convert capabilities for " << printer_name; 423 std::string printer_name; local 427 // |it->printer_name| specifies the device name / printer queue name 827 std::string printer_name; local 974 std::string printer_name; local [all...] |