| Index: chrome/browser/chromeos/printing/printer_pref_manager.h
|
| diff --git a/chrome/browser/chromeos/printing/printer_pref_manager.h b/chrome/browser/chromeos/printing/printer_pref_manager.h
|
| index 710616d12e0ade55fb2c4f7be2bbe2bf147783c2..69cb923152b20b8a40ae719499d2c5f3609caa96 100644
|
| --- a/chrome/browser/chromeos/printing/printer_pref_manager.h
|
| +++ b/chrome/browser/chromeos/printing/printer_pref_manager.h
|
| @@ -31,6 +31,9 @@ class PrinterPrefManager : public KeyedService {
|
| // Returns the printers that are saved in preferences.
|
| std::vector<std::unique_ptr<Printer>> GetPrinters() const;
|
|
|
| + // Returns the printer with id |printer_id|.
|
| + 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
|
| // empty id to add a new printer.
|
| void RegisterPrinter(std::unique_ptr<Printer> printer);
|
|
|