summaryrefslogtreecommitdiffstats
path: root/cloud_print/gcp20/prototype/print_job_handler.h
diff options
context:
space:
mode:
authormaksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 11:24:40 +0000
committermaksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 11:24:40 +0000
commit12bfcb19c36e0afb3f445de1464b836b549647c6 (patch)
tree93e7e545c34eb3cd41220ece73e4036f3a06f271 /cloud_print/gcp20/prototype/print_job_handler.h
parent9e93a9be5f8ef5e623e8d836c00e2cd6216173e5 (diff)
downloadchromium_src-12bfcb19c36e0afb3f445de1464b836b549647c6.zip
chromium_src-12bfcb19c36e0afb3f445de1464b836b549647c6.tar.gz
chromium_src-12bfcb19c36e0afb3f445de1464b836b549647c6.tar.bz2
GCP2.0 Device: Receiving printjobs.
New request (with timeouts). BUG= Review URL: https://chromiumcodereview.appspot.com/19866002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/gcp20/prototype/print_job_handler.h')
-rw-r--r--cloud_print/gcp20/prototype/print_job_handler.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/cloud_print/gcp20/prototype/print_job_handler.h b/cloud_print/gcp20/prototype/print_job_handler.h
new file mode 100644
index 0000000..594e5a2
--- /dev/null
+++ b/cloud_print/gcp20/prototype/print_job_handler.h
@@ -0,0 +1,27 @@
+// 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.
+
+#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_PRINT_JOB_HANDLER_H_
+#define CLOUD_PRINT_GCP20_PROTOTYPE_PRINT_JOB_HANDLER_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+
+class PrintJobHandler {
+ public:
+ PrintJobHandler();
+ ~PrintJobHandler();
+
+ bool SavePrintJob(const std::string& data,
+ const std::string& ticket,
+ const std::string& job_name,
+ const std::string& title);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PrintJobHandler);
+};
+
+#endif // CLOUD_PRINT_GCP20_PROTOTYPE_PRINT_JOB_HANDLER_H_
+