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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h

Issue 2975013002: Make chromeos CUPS printing code namespaces consistent. (Closed)
Patch Set: Rebase Created 3 years, 5 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
Index: chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
diff --git a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
index 424ff52cf9114e59246d4add5671ff4f81a96ad9..9af867b0b2f8a78aad0eb3e21f663a1da388997c 100644
--- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
@@ -25,11 +25,9 @@ class ListValue;
class Profile;
namespace chromeos {
-namespace printing {
-class PpdProvider;
-}
class CombiningPrinterDetector;
+class PpdProvider;
namespace settings {
@@ -89,14 +87,12 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
void HandleSelectPPDFile(const base::ListValue* args);
// PpdProvider callback handlers.
- void ResolveManufacturersDone(
- const std::string& js_callback,
- printing::PpdProvider::CallbackResultCode result_code,
- const std::vector<std::string>& available);
- void ResolvePrintersDone(
- const std::string& js_callback,
- printing::PpdProvider::CallbackResultCode result_code,
- const std::vector<std::string>& available);
+ void ResolveManufacturersDone(const std::string& js_callback,
+ PpdProvider::CallbackResultCode result_code,
+ const std::vector<std::string>& available);
+ void ResolvePrintersDone(const std::string& js_callback,
+ PpdProvider::CallbackResultCode result_code,
+ const std::vector<std::string>& available);
// ui::SelectFileDialog::Listener override:
void FileSelected(const base::FilePath& path,
@@ -120,7 +116,7 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
bool ipp_everywhere);
std::unique_ptr<CombiningPrinterDetector> printer_detector_;
- scoped_refptr<printing::PpdProvider> ppd_provider_;
+ scoped_refptr<PpdProvider> ppd_provider_;
std::unique_ptr<PrinterConfigurer> printer_configurer_;
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698