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

Side by Side Diff: chrome/browser/printing/print_job_unittest.cc

Issue 6510007: Printing: Delete dead code in PrintJob and cleanup corresponding code in Prin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/browser/printing/print_job_worker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/notification_registrar.h" 9 #include "chrome/common/notification_registrar.h"
10 #include "chrome/common/notification_service.h" 10 #include "chrome/common/notification_service.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 job->settings(); 128 job->settings();
129 job->cookie(); 129 job->cookie();
130 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL); 130 job->GetSettings(printing::DEFAULTS, printing::ASK_USER, NULL);
131 job->StartPrinting(); 131 job->StartPrinting();
132 job->Stop(); 132 job->Stop();
133 job->Cancel(); 133 job->Cancel();
134 job->RequestMissingPages(); 134 job->RequestMissingPages();
135 job->FlushJob(timeout_ms); 135 job->FlushJob(timeout_ms);
136 job->DisconnectSource(); 136 job->DisconnectSource();
137 job->is_job_pending(); 137 job->is_job_pending();
138 job->is_print_dialog_box_shown();
139 job->document(); 138 job->document();
140 // Private 139 // Private
141 job->UpdatePrintedDocument(NULL); 140 job->UpdatePrintedDocument(NULL);
142 scoped_refptr<printing::JobEventDetails> event_details; 141 scoped_refptr<printing::JobEventDetails> event_details;
143 job->OnNotifyPrintJobEvent(event_details); 142 job->OnNotifyPrintJobEvent(event_details);
144 job->OnDocumentDone(); 143 job->OnDocumentDone();
145 job->ControlledWorkerShutdown(); 144 job->ControlledWorkerShutdown();
146 */ 145 */
147 } 146 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/browser/printing/print_job_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698