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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "base/string16.h" | 6 #include "base/string16.h" |
7 #include "chrome/browser/printing/print_job.h" | 7 #include "chrome/browser/printing/print_job.h" |
8 #include "chrome/browser/printing/print_job_worker.h" | 8 #include "chrome/browser/printing/print_job_worker.h" |
9 #include "chrome/common/chrome_notification_types.h" | 9 #include "chrome/common/chrome_notification_types.h" |
10 #include "content/public/browser/notification_registrar.h" | 10 #include "content/public/browser/notification_registrar.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 job->GetSettingsDone(); | 121 job->GetSettingsDone(); |
122 job->DetachWorker(); | 122 job->DetachWorker(); |
123 job->message_loop(); | 123 job->message_loop(); |
124 job->settings(); | 124 job->settings(); |
125 job->cookie(); | 125 job->cookie(); |
126 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL); | 126 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL); |
127 job->StartPrinting(); | 127 job->StartPrinting(); |
128 job->Stop(); | 128 job->Stop(); |
129 job->Cancel(); | 129 job->Cancel(); |
130 job->RequestMissingPages(); | 130 job->RequestMissingPages(); |
131 job->FlushJob(timeout_ms); | 131 job->FlushJob(timeout); |
132 job->DisconnectSource(); | 132 job->DisconnectSource(); |
133 job->is_job_pending(); | 133 job->is_job_pending(); |
134 job->document(); | 134 job->document(); |
135 // Private | 135 // Private |
136 job->UpdatePrintedDocument(NULL); | 136 job->UpdatePrintedDocument(NULL); |
137 scoped_refptr<printing::JobEventDetails> event_details; | 137 scoped_refptr<printing::JobEventDetails> event_details; |
138 job->OnNotifyPrintJobEvent(event_details); | 138 job->OnNotifyPrintJobEvent(event_details); |
139 job->OnDocumentDone(); | 139 job->OnDocumentDone(); |
140 job->ControlledWorkerShutdown(); | 140 job->ControlledWorkerShutdown(); |
141 */ | 141 */ |
142 } | 142 } |
OLD | NEW |