| 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 701b36e81e936aa1c6ddf8fb0b4b7b80c7e4fee9..1526f1a782f371ffdc12303035e5512adab08f7f 100644
|
| --- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
|
| +++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
|
| +#include "chromeos/printing/printer_configuration.h"
|
|
|
| namespace base {
|
| class ListValue;
|
| @@ -34,6 +35,11 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler {
|
|
|
| void HandleUpdateCupsPrinter(const base::ListValue* args);
|
| void HandleRemoveCupsPrinter(const base::ListValue* args);
|
| + void OnRemovedPrinter(const std::string& printer_id, bool success);
|
| +
|
| + void HandleAddCupsPrinter(const base::ListValue* args);
|
| + void OnAddedPrinter(std::unique_ptr<Printer> printer, bool success);
|
| + void OnAddPrinterError();
|
|
|
| Profile* profile_;
|
| base::WeakPtrFactory<CupsPrintersHandler> weak_factory_;
|
|
|