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

Side by Side Diff: chrome/service/cloud_print/printer_info_dummy.cc

Issue 1933006: CL for linux proxy for cloud printing (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 7 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 | Annotate | Revision Log
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 print system
6 // for cloud print is not available.
7 #if !defined(CP_PRINT_SYSTEM_AVAILABLE)
8
5 #include "chrome/service/cloud_print/printer_info.h" 9 #include "chrome/service/cloud_print/printer_info.h"
6 10
7 #include "base/logging.h" 11 #include "base/logging.h"
8 12
9 // TODO(sanjeevr): Implement the Mac interfaces.
10 namespace cloud_print { 13 namespace cloud_print {
11 14
12 void EnumeratePrinters(PrinterList* printer_list) { 15 void EnumeratePrinters(PrinterList* printer_list) {
13 DCHECK(printer_list); 16 DCHECK(printer_list);
14 NOTIMPLEMENTED(); 17 NOTIMPLEMENTED();
15 } 18 }
16 19
17 bool GetPrinterCapsAndDefaults(const std::string& printer_name, 20 bool GetPrinterCapsAndDefaults(const std::string& printer_name,
18 PrinterCapsAndDefaults* printer_info) { 21 PrinterCapsAndDefaults* printer_info) {
19 NOTIMPLEMENTED(); 22 NOTIMPLEMENTED();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 return false; 74 return false;
72 } 75 }
73 76
74 bool PrinterChangeNotifier::GetCurrentPrinterInfo( 77 bool PrinterChangeNotifier::GetCurrentPrinterInfo(
75 PrinterBasicInfo* printer_info) { 78 PrinterBasicInfo* printer_info) {
76 NOTIMPLEMENTED(); 79 NOTIMPLEMENTED();
77 return false; 80 return false;
78 } 81 }
79 } // namespace cloud_print 82 } // namespace cloud_print
80 83
84 #endif // CP_PRINT_SYSTEM_AVAILABLE
85
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/printer_info_cups.cc ('k') | chrome/service/cloud_print/printer_info_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698