summaryrefslogtreecommitdiffstats
path: root/cloud_print/gcp20/prototype/local_print_job.h
diff options
context:
space:
mode:
authormaksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-19 06:16:41 +0000
committermaksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-19 06:16:41 +0000
commit0c74882a5d139b47c89dc352079bb316ef6781ff (patch)
tree37bf3657419c0a5ceda081e652964d27098ead04 /cloud_print/gcp20/prototype/local_print_job.h
parent457ced519a84e749d372c4e4fe91f9cf47d4fa1c (diff)
downloadchromium_src-0c74882a5d139b47c89dc352079bb316ef6781ff.zip
chromium_src-0c74882a5d139b47c89dc352079bb316ef6781ff.tar.gz
chromium_src-0c74882a5d139b47c89dc352079bb316ef6781ff.tar.bz2
GCP2.0 Device: Simple printing with new caps.
BUG= Review URL: https://chromiumcodereview.appspot.com/22985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/gcp20/prototype/local_print_job.h')
-rw-r--r--cloud_print/gcp20/prototype/local_print_job.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/cloud_print/gcp20/prototype/local_print_job.h b/cloud_print/gcp20/prototype/local_print_job.h
new file mode 100644
index 0000000..b28e024
--- /dev/null
+++ b/cloud_print/gcp20/prototype/local_print_job.h
@@ -0,0 +1,40 @@
+// 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_LOCAL_PRINT_JOB_H_
+#define CLOUD_PRINT_GCP20_PROTOTYPE_LOCAL_PRINT_JOB_H_
+
+#include <string>
+
+struct LocalPrintJob {
+ enum CreateResult {
+ CREATE_SUCCESS,
+ CREATE_INVALID_TICKET,
+ CREATE_PRINTER_BUSY,
+ CREATE_PRINTER_ERROR,
+ };
+
+ enum SaveResult {
+ SAVE_SUCCESS,
+ SAVE_INVALID_PRINT_JOB,
+ SAVE_INVALID_DOCUMENT_TYPE,
+ SAVE_INVALID_DOCUMENT,
+ SAVE_DOCUMENT_TOO_LARGE,
+ SAVE_PRINTER_BUSY,
+ SAVE_PRINTER_ERROR,
+ };
+
+ LocalPrintJob();
+ ~LocalPrintJob();
+
+ std::string user_name;
+ std::string client_name;
+ std::string job_name;
+ std::string content;
+ std::string content_type;
+ bool offline;
+};
+
+#endif // CLOUD_PRINT_GCP20_PROTOTYPE_LOCAL_PRINT_JOB_H_
+