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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83dfde9be5dc35f9c0dabc49d3959dab426f9328 |
--- /dev/null |
+++ b/chrome/browser/chromeos/printing/printer_pref_manager.h |
@@ -0,0 +1,37 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ |
+#define CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ |
+ |
+#include <memory> |
+#include <vector> |
+ |
+#include "chrome/browser/chromeos/printing/printer_configuration.h" |
+#include "chrome/browser/chromeos/printing/printer_translator.h" |
+ |
+class Profile; |
+ |
+namespace user_prefs { |
+class PrefRegistrySyncable; |
+} |
+ |
+namespace chromeos { |
+ |
+class PrinterPrefManager { |
+ public: |
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
stevenjb
2016/07/29 16:56:51
static methods should be with other public methods
skau
2016/08/01 19:37:20
Done.
|
+ |
+ explicit PrinterPrefManager(Profile* profile); |
+ |
+ std::vector<std::unique_ptr<Printer>> GetPrinters() const; |
+ void RegisterPrinter(std::unique_ptr<Printer> printer); |
stevenjb
2016/07/29 16:56:51
Document all public methods, including what is ret
skau
2016/08/01 19:37:20
Done.
|
+ |
+ private: |
+ Profile* profile_; |
+}; |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ |