OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 13 matching lines...) Expand all Loading... |
24 namespace cloud_print { | 24 namespace cloud_print { |
25 | 25 |
26 struct JobDetails { | 26 struct JobDetails { |
27 JobDetails(); | 27 JobDetails(); |
28 ~JobDetails(); | 28 ~JobDetails(); |
29 void Clear(); | 29 void Clear(); |
30 static bool ordering(const JobDetails& first, const JobDetails& second); | 30 static bool ordering(const JobDetails& first, const JobDetails& second); |
31 | 31 |
32 std::string job_id_; | 32 std::string job_id_; |
33 std::string job_title_; | 33 std::string job_title_; |
| 34 std::string job_owner_; |
34 | 35 |
35 std::string print_ticket_url_; | 36 std::string print_ticket_url_; |
36 std::string print_data_url_; | 37 std::string print_data_url_; |
37 | 38 |
38 std::string print_ticket_; | 39 std::string print_ticket_; |
39 std::string print_ticket_mime_type_; | 40 std::string print_ticket_mime_type_; |
40 base::FilePath print_data_file_path_; | 41 base::FilePath print_data_file_path_; |
41 std::string print_data_mime_type_; | 42 std::string print_data_mime_type_; |
42 | 43 |
43 std::vector<std::string> tags_; | 44 std::vector<std::string> tags_; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 base::TimeDelta ComputeBackoffTime(const std::string& job_id); | 91 base::TimeDelta ComputeBackoffTime(const std::string& job_id); |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(PrinterJobQueueHandler); | 93 DISALLOW_COPY_AND_ASSIGN(PrinterJobQueueHandler); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace cloud_print | 96 } // namespace cloud_print |
96 | 97 |
97 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ | 98 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_QUEUE_HANDLER_H_ |
98 | 99 |
99 | 100 |
OLD | NEW |