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

Side by Side Diff: chrome/service/cloud_print/print_system_cups.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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) 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 "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 <pthread.h> 10 #include <pthread.h>
11 #include <stddef.h>
11 12
12 #include <algorithm> 13 #include <algorithm>
13 #include <list> 14 #include <list>
14 #include <map> 15 #include <map>
15 16
16 #include "base/bind.h" 17 #include "base/bind.h"
17 #include "base/files/file_path.h" 18 #include "base/files/file_path.h"
18 #include "base/json/json_reader.h" 19 #include "base/json/json_reader.h"
19 #include "base/location.h" 20 #include "base/location.h"
20 #include "base/logging.h" 21 #include "base/logging.h"
22 #include "base/macros.h"
21 #include "base/md5.h" 23 #include "base/md5.h"
22 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
23 #include "base/rand_util.h" 25 #include "base/rand_util.h"
24 #include "base/single_thread_task_runner.h" 26 #include "base/single_thread_task_runner.h"
25 #include "base/strings/string_number_conversions.h" 27 #include "base/strings/string_number_conversions.h"
26 #include "base/strings/string_util.h" 28 #include "base/strings/string_util.h"
27 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
28 #include "base/thread_task_runner_handle.h" 30 #include "base/thread_task_runner_handle.h"
29 #include "base/values.h" 31 #include "base/values.h"
30 #include "chrome/common/cloud_print/cloud_print_constants.h" 32 #include "chrome/common/cloud_print/cloud_print_constants.h"
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 859
858 void PrintSystemCUPS::RunCapsCallback( 860 void PrintSystemCUPS::RunCapsCallback(
859 const PrinterCapsAndDefaultsCallback& callback, 861 const PrinterCapsAndDefaultsCallback& callback,
860 bool succeeded, 862 bool succeeded,
861 const std::string& printer_name, 863 const std::string& printer_name,
862 const printing::PrinterCapsAndDefaults& printer_info) { 864 const printing::PrinterCapsAndDefaults& printer_info) {
863 callback.Run(succeeded, printer_name, printer_info); 865 callback.Run(succeeded, printer_name, printer_info);
864 } 866 }
865 867
866 } // namespace cloud_print 868 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/job_status_updater.h ('k') | chrome/service/cloud_print/printer_job_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698