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

Side by Side Diff: chrome/service/cloud_print/printer_job_queue_handler.h

Issue 1212883003: Include user email into document title before spooling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Jul 7 10:19:02 PDT 2015 Created 5 years, 5 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 unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.cc ('k') | chrome/service/cloud_print/printer_job_queue_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698