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

Unified Diff: chrome/browser/local_discovery/pwg_raster_converter.cc

Issue 73503002: Move PDF to PWG conversion into PrivetLocalPrintOperationImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/local_discovery/pwg_raster_converter.cc
diff --git a/chrome/browser/local_discovery/pwg_raster_converter.cc b/chrome/browser/local_discovery/pwg_raster_converter.cc
new file mode 100644
index 0000000000000000000000000000000000000000..13085b9232151406b03711b7410e06d270c0ca13
--- /dev/null
+++ b/chrome/browser/local_discovery/pwg_raster_converter.cc
@@ -0,0 +1,45 @@
+// Copyright 2013 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/local_discovery/pwg_raster_converter.h"
+
+namespace local_discovery {
+
+class PWGRasterConverterImpl : public PWGRasterConverter {
+ public:
+ PWGRasterConverterImpl();
+
+ virtual ~PWGRasterConverterImpl();
+
+ virtual void SetPDFData(scoped_refptr<base::RefCountedBytes> data) OVERRIDE;
+ virtual void SetResultCallback(const ResultCallback& callback) OVERRIDE;
+
+ virtual void Start() OVERRIDE;
+};
+
+// static
+scoped_ptr<PWGRasterConverter> PWGRasterConverter::CreateDefault() {
+ return scoped_ptr<PWGRasterConverter>(new PWGRasterConverterImpl());
+}
+
+PWGRasterConverterImpl::PWGRasterConverterImpl() {
+}
+
+PWGRasterConverterImpl::~PWGRasterConverterImpl() {
+}
+
+void PWGRasterConverterImpl::SetResultCallback(const ResultCallback& callback) {
+ NOTIMPLEMENTED();
+}
+
+void PWGRasterConverterImpl::SetPDFData(
+ scoped_refptr<base::RefCountedBytes> data) {
+ NOTIMPLEMENTED();
+}
+
+void PWGRasterConverterImpl::Start() {
+ NOTIMPLEMENTED();
+}
+
+} // namespace local_discovery

Powered by Google App Engine
This is Rietveld 408576698