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

Unified Diff: chrome/service/cloud_print/printer_info_dummy.cc

Issue 2519002: Redesign cloud printing subsystem layer. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « chrome/service/cloud_print/printer_info_cups.cc ('k') | chrome/service/cloud_print/printer_info_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/printer_info_dummy.cc
===================================================================
--- chrome/service/cloud_print/printer_info_dummy.cc (revision 48976)
+++ chrome/service/cloud_print/printer_info_dummy.cc (working copy)
@@ -1,85 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This is dummy implementation for all configurations where print system
-// for cloud print is not available.
-#if !defined(CP_PRINT_SYSTEM_AVAILABLE)
-
-#include "chrome/service/cloud_print/printer_info.h"
-
-#include "base/logging.h"
-
-namespace cloud_print {
-
-void EnumeratePrinters(PrinterList* printer_list) {
- DCHECK(printer_list);
- NOTIMPLEMENTED();
-}
-
-bool GetPrinterCapsAndDefaults(const std::string& printer_name,
- PrinterCapsAndDefaults* printer_info) {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool ValidatePrintTicket(const std::string& printer_name,
- const std::string& print_ticket_data) {
- NOTIMPLEMENTED();
- return false;
-}
-
-std::string GenerateProxyId() {
- NOTIMPLEMENTED();
- return std::string();
-}
-
-bool SpoolPrintJob(const std::string& print_ticket,
- const FilePath& print_data_file_path,
- const std::string& print_data_mime_type,
- const std::string& printer_name,
- const std::string& job_title,
- PlatformJobId* job_id_ret) {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool GetJobDetails(const std::string& printer_name,
- PlatformJobId job_id,
- PrintJobDetails *job_details) {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool IsValidPrinter(const std::string& printer_name) {
- NOTIMPLEMENTED();
- return false;
-}
-
-PrinterChangeNotifier::PrinterChangeNotifier() : state_(NULL) {
-}
-
-PrinterChangeNotifier::~PrinterChangeNotifier() {
- StopWatching();
-}
-
-bool PrinterChangeNotifier::StartWatching(const std::string& printer_name,
- Delegate* delegate) {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool PrinterChangeNotifier::StopWatching() {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool PrinterChangeNotifier::GetCurrentPrinterInfo(
- PrinterBasicInfo* printer_info) {
- NOTIMPLEMENTED();
- return false;
-}
-} // namespace cloud_print
-
-#endif // CP_PRINT_SYSTEM_AVAILABLE
-
« no previous file with comments | « chrome/service/cloud_print/printer_info_cups.cc ('k') | chrome/service/cloud_print/printer_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698