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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/printing/print_job_worker.h ('k') | chrome/browser/process_info_snapshot_mac.cc » ('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/printer_query.h" 5 #include "chrome/browser/printing/printer_query.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/thread_restrictions.h" 8 #include "base/threading/thread_restrictions.h"
9 #include "chrome/browser/printing/print_job_worker.h" 9 #include "chrome/browser/printing/print_job_worker.h"
10 10
11 namespace printing { 11 namespace printing {
12 12
13 PrinterQuery::PrinterQuery() 13 PrinterQuery::PrinterQuery()
14 : io_message_loop_(MessageLoop::current()), 14 : io_message_loop_(MessageLoop::current()),
15 ALLOW_THIS_IN_INITIALIZER_LIST(worker_(new PrintJobWorker(this))), 15 ALLOW_THIS_IN_INITIALIZER_LIST(worker_(new PrintJobWorker(this))),
16 is_print_dialog_box_shown_(false), 16 is_print_dialog_box_shown_(false),
17 cookie_(PrintSettings::NewCookie()), 17 cookie_(PrintSettings::NewCookie()),
18 last_status_(PrintingContext::FAILED) { 18 last_status_(PrintingContext::FAILED) {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 bool PrinterQuery::is_callback_pending() const { 125 bool PrinterQuery::is_callback_pending() const {
126 return callback_.get() != NULL; 126 return callback_.get() != NULL;
127 } 127 }
128 128
129 bool PrinterQuery::is_valid() const { 129 bool PrinterQuery::is_valid() const {
130 return worker_.get() != NULL; 130 return worker_.get() != NULL;
131 } 131 }
132 132
133 } // namespace printing 133 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_worker.h ('k') | chrome/browser/process_info_snapshot_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698