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

Unified Diff: chromeos/printing/printer_translator.h

Issue 2795043003: Clean up printer preference handling. (Closed)
Patch Set: log missing fields Created 3 years, 8 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
« no previous file with comments | « no previous file | chromeos/printing/printer_translator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/printing/printer_translator.h
diff --git a/chromeos/printing/printer_translator.h b/chromeos/printing/printer_translator.h
index 1efa84e223ebc35119def9bd6ca29e0812d795f9..eb121ea57b0a910d6a75646f41f9ca249078eb37 100644
--- a/chromeos/printing/printer_translator.h
+++ b/chromeos/printing/printer_translator.h
@@ -19,15 +19,6 @@ namespace printing {
CHROMEOS_EXPORT extern const char kPrinterId[];
-// Returns a new Printer populated with fields from |pref|. Returns a nullptr
-// if |pref| does not contain an id field.
-CHROMEOS_EXPORT std::unique_ptr<Printer> PrefToPrinter(
- const base::DictionaryValue& pref);
-
-// Returns a dictionary generated from the |printer| fields.
-CHROMEOS_EXPORT std::unique_ptr<base::DictionaryValue> PrinterToPref(
- const Printer& printer);
-
// Returns a new printer populated with the fields from |pref|. Processes
// dictionaries from policy i.e. cPanel.
CHROMEOS_EXPORT std::unique_ptr<Printer> RecommendedPrinterToPrinter(
« no previous file with comments | « no previous file | chromeos/printing/printer_translator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698