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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_view_manager_base.h" 5 #include "chrome/browser/printing/print_view_manager_base.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "build/build_config.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/chrome_notification_types.h" 18 #include "chrome/browser/chrome_notification_types.h"
18 #include "chrome/browser/printing/print_job.h" 19 #include "chrome/browser/printing/print_job.h"
19 #include "chrome/browser/printing/print_job_manager.h" 20 #include "chrome/browser/printing/print_job_manager.h"
20 #include "chrome/browser/printing/printer_query.h" 21 #include "chrome/browser/printing/printer_query.h"
21 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/ui/simple_message_box.h" 23 #include "chrome/browser/ui/simple_message_box.h"
23 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
24 #include "chrome/grit/generated_resources.h" 25 #include "chrome/grit/generated_resources.h"
25 #include "components/printing/common/print_messages.h" 26 #include "components/printing/common/print_messages.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 scoped_refptr<printing::PrinterQuery> printer_query; 530 scoped_refptr<printing::PrinterQuery> printer_query;
530 printer_query = queue_->PopPrinterQuery(cookie); 531 printer_query = queue_->PopPrinterQuery(cookie);
531 if (!printer_query.get()) 532 if (!printer_query.get())
532 return; 533 return;
533 BrowserThread::PostTask( 534 BrowserThread::PostTask(
534 BrowserThread::IO, FROM_HERE, 535 BrowserThread::IO, FROM_HERE,
535 base::Bind(&PrinterQuery::StopWorker, printer_query.get())); 536 base::Bind(&PrinterQuery::StopWorker, printer_query.get()));
536 } 537 }
537 538
538 } // namespace printing 539 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.h ('k') | chrome/browser/printing/print_view_manager_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698