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

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

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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.h ('k') | chrome/browser/printing/printer_query.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/timer.h" 8 #include "base/timer.h"
9 #include "chrome/browser/printing/print_job_worker.h" 9 #include "chrome/browser/printing/print_job_worker.h"
10 #include "chrome/common/notification_service.h" 10 #include "chrome/common/notification_service.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void PrintJob::GetSettingsDone(const PrintSettings& new_settings, 79 void PrintJob::GetSettingsDone(const PrintSettings& new_settings,
80 PrintingContext::Result result) { 80 PrintingContext::Result result) {
81 NOTREACHED(); 81 NOTREACHED();
82 } 82 }
83 83
84 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) { 84 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) {
85 NOTREACHED(); 85 NOTREACHED();
86 return NULL; 86 return NULL;
87 } 87 }
88 88
89 MessageLoop* PrintJob::message_loop() {
90 return ui_message_loop_;
91 }
92
93 const PrintSettings& PrintJob::settings() const {
94 return settings_;
95 }
96
89 int PrintJob::cookie() const { 97 int PrintJob::cookie() const {
90 if (!document_.get()) 98 if (!document_.get())
91 // Always use an invalid cookie in this case. 99 // Always use an invalid cookie in this case.
92 return 0; 100 return 0;
93 return document_->cookie(); 101 return document_->cookie();
94 } 102 }
95 103
96 void PrintJob::WillDestroyCurrentMessageLoop() { 104 void PrintJob::WillDestroyCurrentMessageLoop() {
97 NOTREACHED(); 105 NOTREACHED();
98 } 106 }
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 354
347 PrintedDocument* JobEventDetails::document() const { 355 PrintedDocument* JobEventDetails::document() const {
348 return document_; 356 return document_;
349 } 357 }
350 358
351 PrintedPage* JobEventDetails::page() const { 359 PrintedPage* JobEventDetails::page() const {
352 return page_; 360 return page_;
353 } 361 }
354 362
355 } // namespace printing 363 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job.h ('k') | chrome/browser/printing/printer_query.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698