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

Unified Diff: chrome/browser/chromeos/printing/printer_pref_manager.h

Issue 2207053002: Revert of Define printer configuration objects for Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/browser/chromeos/printing/OWNERS ('k') | chrome/browser/chromeos/printing/printer_pref_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index df458c5d4103c4f0b67e83c4b8465711afd8a990..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/printing/printer_pref_manager.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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 "chromeos/printing/printer_configuration.h"
-#include "chromeos/printing/printer_translator.h"
-
-class Profile;
-
-namespace user_prefs {
-class PrefRegistrySyncable;
-}
-
-namespace chromeos {
-
-class PrinterPrefManager {
- public:
- explicit PrinterPrefManager(Profile* profile);
-
- // Register the printing preferences with the |registry|.
- static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
-
- // Returns the printers that are saved in preferences.
- std::vector<std::unique_ptr<Printer>> GetPrinters() 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);
-
- private:
- Profile* profile_;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_PREF_MANAGER_H_
« no previous file with comments | « chrome/browser/chromeos/printing/OWNERS ('k') | chrome/browser/chromeos/printing/printer_pref_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698