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

Side by Side Diff: printing/backend/print_backend_dummy.cc

Issue 900793008: Update {virtual,override,final} to follow C++11 style in printing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | printing/printing_context_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is dummy implementation for all configurations where there is no 5 // This is dummy implementation for all configurations where there is no
6 // print backend. 6 // print backend.
7 #if !defined(PRINT_BACKEND_AVAILABLE) 7 #if !defined(PRINT_BACKEND_AVAILABLE)
8 8
9 #include "printing/backend/print_backend.h" 9 #include "printing/backend/print_backend.h"
10 10
(...skipping 30 matching lines...) Expand all
41 std::string GetPrinterDriverInfo( 41 std::string GetPrinterDriverInfo(
42 const std::string& printer_name) override { 42 const std::string& printer_name) override {
43 return std::string(); 43 return std::string();
44 } 44 }
45 45
46 bool IsValidPrinter(const std::string& printer_name) override { 46 bool IsValidPrinter(const std::string& printer_name) override {
47 return false; 47 return false;
48 } 48 }
49 49
50 private: 50 private:
51 ~DummyPrintBackend() {} 51 ~DummyPrintBackend() override {}
52 52
53 DISALLOW_COPY_AND_ASSIGN(DummyPrintBackend); 53 DISALLOW_COPY_AND_ASSIGN(DummyPrintBackend);
54 }; 54 };
55 55
56 scoped_refptr<PrintBackend> PrintBackend::CreateInstance( 56 scoped_refptr<PrintBackend> PrintBackend::CreateInstance(
57 const base::DictionaryValue* print_backend_settings) { 57 const base::DictionaryValue* print_backend_settings) {
58 return new DummyPrintBackend(); 58 return new DummyPrintBackend();
59 } 59 }
60 60
61 } // namespace printing 61 } // namespace printing
62 62
63 #endif // PRINT_BACKEND_AVAILABLE 63 #endif // PRINT_BACKEND_AVAILABLE
OLDNEW
« no previous file with comments | « no previous file | printing/printing_context_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698