Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6738)

Unified Diff: chrome/browser/chromeos/printing/printers_manager.h

Issue 2790603003: Make CUPS USB printing play better with the settings page. This change does several things: (Closed)
Patch Set: Address xdai@ comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/printing/printers_manager.h
diff --git a/chrome/browser/chromeos/printing/printers_manager.h b/chrome/browser/chromeos/printing/printers_manager.h
index 04eb0dda72a1e42fd2d3d57517a3cc595066fdf1..f31bd6c7d0fd766ea22b6dbfa04392dd6a22b574 100644
--- a/chrome/browser/chromeos/printing/printers_manager.h
+++ b/chrome/browser/chromeos/printing/printers_manager.h
@@ -51,7 +51,8 @@ class PrintersManager : public KeyedService {
// Returns printers from enterprise policy.
std::vector<std::unique_ptr<Printer>> GetRecommendedPrinters() const;
- // Returns the printer with id |printer_id|.
+ // Returns the printer with id |printer_id|, or nullptr if no such
+ // printer exists.
std::unique_ptr<Printer> GetPrinter(const std::string& printer_id) const;
// Adds or updates a printer. Printers are identified by the id field. Use an

Powered by Google App Engine
This is Rietveld 408576698