Use CupsPrintersManager in CupsPrintJobManager

Previously, CupsPrintJobManager relied on the fact that all installing a
printer moved it into saved printers for checking whether the printer
still exists to show a status notification.

Bug: 962571
Change-Id: I72c4d69e52a73d1eca13f7e850dc884ec48f2296
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617211
Auto-Submit: Bailey Berro <baileyberro@chromium.org>
Reviewed-by: Sean Kau <skau@chromium.org>
Commit-Queue: Bailey Berro <baileyberro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661393}
diff --git a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
index 81f663a..9ecff60 100644
--- a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
+++ b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
@@ -22,8 +22,8 @@
 #include "base/timer/timer.h"
 #include "chrome/browser/chrome_notification_types.h"
 #include "chrome/browser/chromeos/printing/cups_print_job.h"
-#include "chrome/browser/chromeos/printing/synced_printers_manager.h"
-#include "chrome/browser/chromeos/printing/synced_printers_manager_factory.h"
+#include "chrome/browser/chromeos/printing/cups_printers_manager.h"
+#include "chrome/browser/chromeos/printing/cups_printers_manager_factory.h"
 #include "chrome/browser/printing/print_job.h"
 #include "chrome/browser/profiles/profile.h"
 #include "content/public/browser/browser_context.h"
@@ -320,8 +320,9 @@
                       int total_page_number) {
     DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
 
-    auto printer = SyncedPrintersManagerFactory::GetForBrowserContext(profile_)
-                       ->GetPrinter(printer_name);
+    auto printer =
+        CupsPrintersManagerFactory::GetForBrowserContext(profile_)->GetPrinter(
+            printer_name);
     if (!printer) {
       LOG(WARNING)
           << "Printer was removed while job was in progress.  It cannot "