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

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

Issue 18644007: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 7 years, 5 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) 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"
11 #include "base/threading/worker_pool.h" 11 #include "base/threading/worker_pool.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/printing/print_job_worker.h" 14 #include "chrome/browser/printing/print_job_worker.h"
14 #include "chrome/common/chrome_notification_types.h"
15 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
16 #include "printing/printed_document.h" 16 #include "printing/printed_document.h"
17 #include "printing/printed_page.h" 17 #include "printing/printed_page.h"
18 18
19 using base::TimeDelta; 19 using base::TimeDelta;
20 20
21 namespace { 21 namespace {
22 22
23 // Helper function to ensure |owner| is valid until at least |callback| returns. 23 // Helper function to ensure |owner| is valid until at least |callback| returns.
24 void HoldRefCallback(const scoped_refptr<printing::PrintJobWorkerOwner>& owner, 24 void HoldRefCallback(const scoped_refptr<printing::PrintJobWorkerOwner>& owner,
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 391
392 JobEventDetails::~JobEventDetails() { 392 JobEventDetails::~JobEventDetails() {
393 } 393 }
394 394
395 PrintedDocument* JobEventDetails::document() const { return document_.get(); } 395 PrintedDocument* JobEventDetails::document() const { return document_.get(); }
396 396
397 PrintedPage* JobEventDetails::page() const { return page_.get(); } 397 PrintedPage* JobEventDetails::page() const { return page_.get(); }
398 398
399 } // namespace printing 399 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698