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

Unified Diff: chromeos/printing/printer_discoverer.h

Issue 2466993005: [CUPS] Fix the occasional crash when switching between different dialogs. (Closed)
Patch Set: Created 4 years, 1 month 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 | « chromeos/printing/fake_printer_discoverer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/printing/printer_discoverer.h
diff --git a/chromeos/printing/printer_discoverer.h b/chromeos/printing/printer_discoverer.h
index 91fa715ca1de25e3b4704fc46ed3d5c24fd6aee7..6d9929accf368e91042891c0f46186174755dd92 100644
--- a/chromeos/printing/printer_discoverer.h
+++ b/chromeos/printing/printer_discoverer.h
@@ -39,6 +39,8 @@ class CHROMEOS_EXPORT PrinterDiscoverer {
// Static factory
static std::unique_ptr<PrinterDiscoverer> Create();
+ virtual ~PrinterDiscoverer() {}
+
// Begin scanning for printers. Found printers will be reported to the
// attached observer.
virtual bool StartDiscovery() = 0;
« no previous file with comments | « chromeos/printing/fake_printer_discoverer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698