OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/service/cloud_print/print_system.h" | 5 #include "chrome/service/cloud_print/print_system.h" |
6 | 6 |
7 #include <cups/cups.h> | 7 #include <cups/cups.h> |
8 #include <dlfcn.h> | 8 #include <dlfcn.h> |
9 #include <errno.h> | 9 #include <errno.h> |
| 10 #include <gcrypt.h> |
10 #include <pthread.h> | 11 #include <pthread.h> |
11 | 12 |
12 #include <list> | 13 #include <list> |
13 #include <map> | 14 #include <map> |
14 | 15 |
15 #include "base/file_path.h" | 16 #include "base/file_path.h" |
16 #include "base/json/json_reader.h" | 17 #include "base/json/json_reader.h" |
17 #include "base/lock.h" | 18 #include "base/lock.h" |
18 #include "base/logging.h" | 19 #include "base/logging.h" |
19 #include "base/message_loop.h" | 20 #include "base/message_loop.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 job_title.c_str(), | 389 job_title.c_str(), |
389 cups_options.size(), | 390 cups_options.size(), |
390 &(cups_options[0])); | 391 &(cups_options[0])); |
391 | 392 |
392 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id; | 393 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id; |
393 | 394 |
394 return job_id; | 395 return job_id; |
395 } | 396 } |
396 | 397 |
397 } // namespace cloud_print | 398 } // namespace cloud_print |
OLD | NEW |