Chromium Code Reviews| 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 222de0d1e279de24b6c757d2a1ea46bf61b00866..31df73467dc2506437e38b0515083545ae0281ba 100644 |
| --- a/chrome/browser/chromeos/printing/printer_pref_manager.h |
| +++ b/chrome/browser/chromeos/printing/printer_pref_manager.h |
| @@ -40,6 +40,9 @@ class PrinterPrefManager : public KeyedService { |
| // Returns the printer with id |printer_id|. |
| std::unique_ptr<Printer> GetPrinter(const std::string& printer_id) const; |
| + // Returns true if the printer is enterprise policy controlled printer. |
| + bool IsEnterprisePrinter(const std::string& printer_id) const; |
|
skau
2017/01/10 19:55:52
I would make this a property of printer rather tha
xdai1
2017/01/10 21:45:28
Done. Thanks for the suggestion!
|
| + |
| // 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); |