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> | |
11 #include <pthread.h> | 10 #include <pthread.h> |
12 | 11 |
13 #include <list> | 12 #include <list> |
14 #include <map> | 13 #include <map> |
15 | 14 |
16 #include "base/file_path.h" | 15 #include "base/file_path.h" |
17 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
18 #include "base/lock.h" | 17 #include "base/lock.h" |
19 #include "base/logging.h" | 18 #include "base/logging.h" |
20 #include "base/message_loop.h" | 19 #include "base/message_loop.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 job_title.c_str(), | 388 job_title.c_str(), |
390 cups_options.size(), | 389 cups_options.size(), |
391 &(cups_options[0])); | 390 &(cups_options[0])); |
392 | 391 |
393 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id; | 392 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id; |
394 | 393 |
395 return job_id; | 394 return job_id; |
396 } | 395 } |
397 | 396 |
398 } // namespace cloud_print | 397 } // namespace cloud_print |
OLD | NEW |