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

Side by Side Diff: chrome/browser/printing/print_job_worker.h

Issue 248021: Reverting 27379. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__
7 7
8 #include "base/task.h" 8 #include "base/task.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "printing/page_number.h" 10 #include "printing/page_number.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Current page number to print. 91 // Current page number to print.
92 PageNumber page_number_; 92 PageNumber page_number_;
93 93
94 DISALLOW_EVIL_CONSTRUCTORS(PrintJobWorker); 94 DISALLOW_EVIL_CONSTRUCTORS(PrintJobWorker);
95 }; 95 };
96 96
97 } // namespace printing 97 } // namespace printing
98 98
99 template <> 99 template <>
100 struct RunnableMethodTraits<printing::PrintJobWorker> { 100 struct RunnableMethodTraits<printing::PrintJobWorker> {
101 RunnableMethodTraits();
101 void RetainCallee(printing::PrintJobWorker* obj); 102 void RetainCallee(printing::PrintJobWorker* obj);
102 void ReleaseCallee(printing::PrintJobWorker* obj); 103 void ReleaseCallee(printing::PrintJobWorker* obj);
103 private: 104 private:
104 scoped_refptr<printing::PrintJobWorkerOwner> owner_; 105 scoped_refptr<printing::PrintJobWorkerOwner> owner_;
105 }; 106 };
106 107
107 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ 108 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_unittest.cc ('k') | chrome/browser/printing/print_job_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698