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

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

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/printer_job_handler.h" 5 #include "chrome/service/cloud_print/printer_job_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PrintSystem* print_system, 64 PrintSystem* print_system,
65 Delegate* delegate) 65 Delegate* delegate)
66 : print_system_(print_system), 66 : print_system_(print_system),
67 printer_info_(printer_info), 67 printer_info_(printer_info),
68 printer_info_cloud_(printer_info_cloud), 68 printer_info_cloud_(printer_info_cloud),
69 cloud_print_server_url_(cloud_print_server_url), 69 cloud_print_server_url_(cloud_print_server_url),
70 delegate_(delegate), 70 delegate_(delegate),
71 local_job_id_(-1), 71 local_job_id_(-1),
72 next_json_data_handler_(NULL), 72 next_json_data_handler_(NULL),
73 next_data_handler_(NULL), 73 next_data_handler_(NULL),
74 server_error_count_(0),
75 print_thread_("Chrome_CloudPrintJobPrintThread"), 74 print_thread_("Chrome_CloudPrintJobPrintThread"),
76 job_handler_message_loop_proxy_( 75 job_handler_message_loop_proxy_(
77 base::MessageLoopProxy::current()), 76 base::MessageLoopProxy::current()),
78 shutting_down_(false), 77 shutting_down_(false),
79 job_check_pending_(false), 78 job_check_pending_(false),
80 printer_update_pending_(true), 79 printer_update_pending_(true),
81 task_in_progress_(false), 80 task_in_progress_(false),
82 weak_ptr_factory_(this) { 81 weak_ptr_factory_(this) {
83 } 82 }
84 83
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 job_details.print_data_mime_type_, 805 job_details.print_data_mime_type_,
807 printer_name, 806 printer_name,
808 base::UTF16ToUTF8(document_name), 807 base::UTF16ToUTF8(document_name),
809 job_details.tags_, 808 job_details.tags_,
810 this)) { 809 this)) {
811 OnJobSpoolFailed(); 810 OnJobSpoolFailed();
812 } 811 }
813 } 812 }
814 813
815 } // namespace cloud_print 814 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.h ('k') | chrome/utility/image_writer/error_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698