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

Unified Diff: printing/backend/print_backend_cups.cc

Issue 668073002: Standardize usage of virtual/override/final in printing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | printing/metafile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_cups.cc
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc
index e672b895944b53480eca91a9d23e682f739bddce..58ae20f85b2e99982bd496f2aff81c2c9050812d 100644
--- a/printing/backend/print_backend_cups.cc
+++ b/printing/backend/print_backend_cups.cc
@@ -34,20 +34,18 @@ class PrintBackendCUPS : public PrintBackend {
http_encryption_t encryption, bool blocking);
// PrintBackend implementation.
- virtual bool EnumeratePrinters(PrinterList* printer_list) override;
- virtual std::string GetDefaultPrinterName() override;
- virtual bool GetPrinterSemanticCapsAndDefaults(
+ bool EnumeratePrinters(PrinterList* printer_list) override;
+ std::string GetDefaultPrinterName() override;
+ bool GetPrinterSemanticCapsAndDefaults(
const std::string& printer_name,
PrinterSemanticCapsAndDefaults* printer_info) override;
- virtual bool GetPrinterCapsAndDefaults(
- const std::string& printer_name,
- PrinterCapsAndDefaults* printer_info) override;
- virtual std::string GetPrinterDriverInfo(
- const std::string& printer_name) override;
- virtual bool IsValidPrinter(const std::string& printer_name) override;
+ bool GetPrinterCapsAndDefaults(const std::string& printer_name,
+ PrinterCapsAndDefaults* printer_info) override;
+ std::string GetPrinterDriverInfo(const std::string& printer_name) override;
+ bool IsValidPrinter(const std::string& printer_name) override;
protected:
- virtual ~PrintBackendCUPS() {}
+ ~PrintBackendCUPS() override {}
private:
// Following functions are wrappers around corresponding CUPS functions.
« no previous file with comments | « no previous file | printing/metafile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698