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

Unified Diff: chrome/browser/chromeos/printing/printer_info_stub.cc

Issue 2891643002: Add a method to query IPP printers for attributes. (Closed)
Patch Set: check empty Created 3 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/browser/chromeos/printing/printer_info_cups.cc ('k') | printing/backend/cups_jobs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printing/printer_info_stub.cc
diff --git a/chrome/browser/chromeos/printing/printer_info_stub.cc b/chrome/browser/chromeos/printing/printer_info_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fd12c1d75f7e7ee0753961d764e0c1eb58b7a65d
--- /dev/null
+++ b/chrome/browser/chromeos/printing/printer_info_stub.cc
@@ -0,0 +1,21 @@
+// Copyright 2017 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/chromeos/printing/printer_info.h"
+
+#include "base/logging.h"
+#include "base/task_scheduler/post_task.h"
+
+namespace chromeos {
+
+void QueryIppPrinter(const std::string& host,
+ const int port,
+ const std::string& path,
+ const PrinterInfoCallback& callback) {
+ DCHECK(!host.empty());
+
+ base::PostTask(FROM_HERE, base::Bind(callback, false, "Foo", "Bar", false));
+}
+
+} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/printing/printer_info_cups.cc ('k') | printing/backend/cups_jobs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698