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

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

Issue 16092013: Use base::MessageLoop in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again, sigh Created 7 years, 6 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/policy/policy_browsertest.cc ('k') | chrome/browser/printing/printer_query.cc » ('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) 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/browser/printing/print_job.h" 5 #include "chrome/browser/printing/print_job.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/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void PrintJob::GetSettingsDone(const PrintSettings& new_settings, 99 void PrintJob::GetSettingsDone(const PrintSettings& new_settings,
100 PrintingContext::Result result) { 100 PrintingContext::Result result) {
101 NOTREACHED(); 101 NOTREACHED();
102 } 102 }
103 103
104 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) { 104 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) {
105 NOTREACHED(); 105 NOTREACHED();
106 return NULL; 106 return NULL;
107 } 107 }
108 108
109 MessageLoop* PrintJob::message_loop() { 109 base::MessageLoop* PrintJob::message_loop() {
110 return ui_message_loop_; 110 return ui_message_loop_;
111 } 111 }
112 112
113 const PrintSettings& PrintJob::settings() const { 113 const PrintSettings& PrintJob::settings() const {
114 return settings_; 114 return settings_;
115 } 115 }
116 116
117 int PrintJob::cookie() const { 117 int PrintJob::cookie() const {
118 if (!document_.get()) 118 if (!document_.get())
119 // Always use an invalid cookie in this case. 119 // Always use an invalid cookie in this case.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 394
395 PrintedDocument* JobEventDetails::document() const { 395 PrintedDocument* JobEventDetails::document() const {
396 return document_; 396 return document_;
397 } 397 }
398 398
399 PrintedPage* JobEventDetails::page() const { 399 PrintedPage* JobEventDetails::page() const {
400 return page_; 400 return page_;
401 } 401 }
402 402
403 } // namespace printing 403 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/printing/printer_query.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698