summaryrefslogtreecommitdiffstats
path: root/printing/backend/print_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/backend/print_backend.h')
-rw-r--r--printing/backend/print_backend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 8e28b2d..84a9d90 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -53,8 +53,6 @@ struct PRINTING_EXPORT PrinterCapsAndDefaults {
class PRINTING_EXPORT PrintBackend
: public base::RefCountedThreadSafe<PrintBackend> {
public:
- virtual ~PrintBackend();
-
// Enumerates the list of installed local and network printers.
virtual bool EnumeratePrinters(PrinterList* printer_list) = 0;
@@ -78,6 +76,10 @@ class PRINTING_EXPORT PrintBackend
// Return NULL if no print backend available.
static scoped_refptr<PrintBackend> CreateInstance(
const base::DictionaryValue* print_backend_settings);
+
+ protected:
+ friend class base::RefCountedThreadSafe<PrintBackend>;
+ virtual ~PrintBackend();
};
} // namespace printing