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

Unified Diff: chrome/browser/printing/cloud_print/printer_info_linux.cc

Issue 1566047: First cut of Cloud Print Proxy implementation. The code is not enabled for no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final review changes Created 10 years, 8 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
Index: chrome/browser/printing/cloud_print/printer_info_linux.cc
===================================================================
--- chrome/browser/printing/cloud_print/printer_info_linux.cc (revision 0)
+++ chrome/browser/printing/cloud_print/printer_info_linux.cc (revision 0)
@@ -0,0 +1,80 @@
+// 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.
+
+#include "chrome/browser/printing/cloud_print/printer_info.h"
+
+#include "base/logging.h"
+
+// TODO(sanjeevr): Implement the Linux interfaces.
+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
+
Property changes on: chrome\browser\printing\cloud_print\printer_info_linux.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/printing/cloud_print/printer_info.h ('k') | chrome/browser/printing/cloud_print/printer_info_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698