Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "chrome/browser/chromeos/printing/printer_configuration.h" | |
| 12 #include "chrome/browser/chromeos/printing/printer_translator.h" | |
| 13 | |
| 14 class Profile; | |
| 15 | |
| 16 namespace user_prefs { | |
| 17 class PrefRegistrySyncable; | |
| 18 } | |
| 19 | |
| 20 namespace chromeos { | |
| 21 | |
| 22 class PrinterPrefManager { | |
| 23 public: | |
| 24 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.
| |
| 25 | |
| 26 explicit PrinterPrefManager(Profile* profile); | |
| 27 | |
| 28 std::vector<std::unique_ptr<Printer>> GetPrinters() const; | |
| 29 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.
| |
| 30 | |
| 31 private: | |
| 32 Profile* profile_; | |
| 33 }; | |
| 34 | |
| 35 } // namespace chromeos | |
| 36 | |
| 37 #endif // CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_ | |
| OLD | NEW |