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

Side by Side Diff: chrome/utility/chrome_content_utility_client.cc

Issue 2920013002: Use pdf compositor service for printing when OOPIF is enabled
Patch Set: rebase Created 3 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | components/printing/browser/BUILD.gn » ('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) 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/utility/chrome_content_utility_client.h" 5 #include "chrome/utility/chrome_content_utility_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "chrome/utility/printing/pdf_to_pwg_raster_converter_service.h" 62 #include "chrome/utility/printing/pdf_to_pwg_raster_converter_service.h"
63 #endif 63 #endif
64 64
65 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \ 65 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \
66 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN)) 66 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
67 #include "chrome/utility/printing_handler.h" 67 #include "chrome/utility/printing_handler.h"
68 #endif 68 #endif
69 69
70 #if BUILDFLAG(ENABLE_PRINTING) 70 #if BUILDFLAG(ENABLE_PRINTING)
71 #include "chrome/common/chrome_content_client.h" 71 #include "chrome/common/chrome_content_client.h"
72 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" 72 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" // nogncheck
73 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck 73 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck
74 #endif 74 #endif
75 75
76 #if defined(FULL_SAFE_BROWSING) 76 #if defined(FULL_SAFE_BROWSING)
77 #include "chrome/common/safe_browsing/archive_analyzer_results.h" 77 #include "chrome/common/safe_browsing/archive_analyzer_results.h"
78 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h" 78 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h"
79 #include "chrome/common/safe_browsing/zip_analyzer.h" 79 #include "chrome/common/safe_browsing/zip_analyzer.h"
80 #if defined(OS_MACOSX) 80 #if defined(OS_MACOSX)
81 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h" 81 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h"
82 #endif 82 #endif
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 #if BUILDFLAG(ENABLE_EXTENSIONS) 372 #if BUILDFLAG(ENABLE_EXTENSIONS)
373 extensions::PreSandboxStartup(); 373 extensions::PreSandboxStartup();
374 #endif 374 #endif
375 } 375 }
376 376
377 // static 377 // static
378 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback( 378 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback(
379 const NetworkBinderCreationCallback& callback) { 379 const NetworkBinderCreationCallback& callback) {
380 g_network_binder_creation_callback.Get() = callback; 380 g_network_binder_creation_callback.Get() = callback;
381 } 381 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | components/printing/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698