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

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 and resolve conflict Created 3 years, 3 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/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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "chrome/utility/extensions/extensions_handler.h" 54 #include "chrome/utility/extensions/extensions_handler.h"
55 #endif 55 #endif
56 56
57 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \ 57 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \
58 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN)) 58 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
59 #include "chrome/utility/printing_handler.h" 59 #include "chrome/utility/printing_handler.h"
60 #endif 60 #endif
61 61
62 #if BUILDFLAG(ENABLE_PRINTING) 62 #if BUILDFLAG(ENABLE_PRINTING)
63 #include "chrome/common/chrome_content_client.h" 63 #include "chrome/common/chrome_content_client.h"
64 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" 64 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" // nogncheck
65 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck 65 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck
66 #endif 66 #endif
67 67
68 #if defined(FULL_SAFE_BROWSING) 68 #if defined(FULL_SAFE_BROWSING)
69 #include "chrome/common/safe_browsing/archive_analyzer_results.h" 69 #include "chrome/common/safe_browsing/archive_analyzer_results.h"
70 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h" 70 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h"
71 #include "chrome/common/safe_browsing/zip_analyzer.h" 71 #include "chrome/common/safe_browsing/zip_analyzer.h"
72 #if defined(OS_MACOSX) 72 #if defined(OS_MACOSX)
73 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h" 73 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h"
74 #endif 74 #endif
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 #if BUILDFLAG(ENABLE_EXTENSIONS) 350 #if BUILDFLAG(ENABLE_EXTENSIONS)
351 extensions::ExtensionsHandler::PreSandboxStartup(); 351 extensions::ExtensionsHandler::PreSandboxStartup();
352 #endif 352 #endif
353 } 353 }
354 354
355 // static 355 // static
356 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback( 356 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback(
357 const NetworkBinderCreationCallback& callback) { 357 const NetworkBinderCreationCallback& callback) {
358 g_network_binder_creation_callback.Get() = callback; 358 g_network_binder_creation_callback.Get() = callback;
359 } 359 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698