diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 20:33:17 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 20:33:17 +0000 |
commit | 0f08bf3692c1db8ff2032a7e944335cb5bb6a453 (patch) | |
tree | 2348461db1b9ae039f92b810f6c44398532a6723 /chrome/browser/printing/print_job.h | |
parent | cbce8ffb3d90ed63e9fb36407d31f7f6ce8a991d (diff) | |
download | chromium_src-0f08bf3692c1db8ff2032a7e944335cb5bb6a453.zip chromium_src-0f08bf3692c1db8ff2032a7e944335cb5bb6a453.tar.gz chromium_src-0f08bf3692c1db8ff2032a7e944335cb5bb6a453.tar.bz2 |
Use a NotificationRegistrar to listen for notifications.
BUG=2381
Review URL: http://codereview.chromium.org/115647
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_job.h')
-rw-r--r-- | chrome/browser/printing/print_job.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_job.h b/chrome/browser/printing/print_job.h index 22c61de..45d5d12 100644 --- a/chrome/browser/printing/print_job.h +++ b/chrome/browser/printing/print_job.h @@ -10,7 +10,7 @@ #include "base/message_loop.h" #include "base/ref_counted.h" #include "chrome/browser/printing/print_job_worker_owner.h" -#include "chrome/common/notification_observer.h" +#include "chrome/common/notification_registrar.h" class GURL; class Thread; @@ -117,6 +117,8 @@ class PrintJob : public base::RefCountedThreadSafe<PrintJob>, // eventual deadlock. void ControlledWorkerShutdown(); + NotificationRegistrar registrar_; + // Main message loop reference. Used to send notifications in the right // thread. MessageLoop* const ui_message_loop_; |