OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "printing/backend/print_backend.h" | 5 #include "printing/backend/print_backend.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include <dlfcn.h> | 9 #include <dlfcn.h> |
10 #include <errno.h> | 10 #include <errno.h> |
11 #include <pthread.h> | 11 #include <pthread.h> |
12 | 12 |
13 #include "base/debug/leak_annotations.h" | 13 #include "base/debug/leak_annotations.h" |
14 #include "base/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "printing/backend/cups_helper.h" | 20 #include "printing/backend/cups_helper.h" |
21 #include "printing/backend/print_backend_consts.h" | 21 #include "printing/backend/print_backend_consts.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 | 23 |
24 namespace printing { | 24 namespace printing { |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 << ", HTTP error: " << http_error; | 297 << ", HTTP error: " << http_error; |
298 base::DeleteFile(ppd_path, false); | 298 base::DeleteFile(ppd_path, false); |
299 ppd_path.clear(); | 299 ppd_path.clear(); |
300 } | 300 } |
301 } | 301 } |
302 } | 302 } |
303 return ppd_path; | 303 return ppd_path; |
304 } | 304 } |
305 | 305 |
306 } // namespace printing | 306 } // namespace printing |
OLD | NEW |