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

Side by Side Diff: chrome/browser/printing/printing_message_filter.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 (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/printing_message_filter.h" 5 #include "chrome/browser/printing/printing_message_filter.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/printing/print_job_manager.h" 12 #include "chrome/browser/printing/print_job_manager.h"
12 #include "chrome/browser/printing/printer_query.h" 13 #include "chrome/browser/printing/printer_query.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
15 #include "components/printing/browser/print_manager_utils.h" 16 #include "components/printing/browser/print_manager_utils.h"
16 #include "components/printing/common/print_messages.h" 17 #include "components/printing/common/print_messages.h"
17 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/render_view_host.h" 19 #include "content/public/browser/render_view_host.h"
19 #include "content/public/browser/web_contents.h" 20 #include "content/public/browser/web_contents.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 if (printer_query.get()) { 329 if (printer_query.get()) {
329 if (printer_query->cookie() && printer_query->settings().dpi()) { 330 if (printer_query->cookie() && printer_query->settings().dpi()) {
330 queue_->QueuePrinterQuery(printer_query.get()); 331 queue_->QueuePrinterQuery(printer_query.get());
331 } else { 332 } else {
332 printer_query->StopWorker(); 333 printer_query->StopWorker();
333 } 334 }
334 } 335 }
335 } 336 }
336 337
337 #if defined(ENABLE_PRINT_PREVIEW) 338 #if defined(ENABLE_PRINT_PREVIEW)
338 void PrintingMessageFilter::OnCheckForCancel(int32 preview_ui_id, 339 void PrintingMessageFilter::OnCheckForCancel(int32_t preview_ui_id,
339 int preview_request_id, 340 int preview_request_id,
340 bool* cancel) { 341 bool* cancel) {
341 PrintPreviewUI::GetCurrentPrintPreviewStatus(preview_ui_id, 342 PrintPreviewUI::GetCurrentPrintPreviewStatus(preview_ui_id,
342 preview_request_id, 343 preview_request_id,
343 cancel); 344 cancel);
344 } 345 }
345 #endif 346 #endif
346 347
347 } // namespace printing 348 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_message_filter.h ('k') | chrome/browser/private_working_set_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698