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

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

Issue 10412028: Convert printing code to use base::TimeDelta in PostDelayedTask interfaces. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/printing/print_job_manager.cc ('k') | no next file » | 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) 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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698