| 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 "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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 PrintedDocument* document, | 385 PrintedDocument* document, |
| 386 PrintedPage* page) | 386 PrintedPage* page) |
| 387 : document_(document), | 387 : document_(document), |
| 388 page_(page), | 388 page_(page), |
| 389 type_(type) { | 389 type_(type) { |
| 390 } | 390 } |
| 391 | 391 |
| 392 JobEventDetails::~JobEventDetails() { | 392 JobEventDetails::~JobEventDetails() { |
| 393 } | 393 } |
| 394 | 394 |
| 395 PrintedDocument* JobEventDetails::document() const { | 395 PrintedDocument* JobEventDetails::document() const { return document_.get(); } |
| 396 return document_; | |
| 397 } | |
| 398 | 396 |
| 399 PrintedPage* JobEventDetails::page() const { | 397 PrintedPage* JobEventDetails::page() const { return page_.get(); } |
| 400 return page_; | |
| 401 } | |
| 402 | 398 |
| 403 } // namespace printing | 399 } // namespace printing |
| OLD | NEW |