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

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: address Lei's comments 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "chrome/utility/extensions/extensions_handler.h" 56 #include "chrome/utility/extensions/extensions_handler.h"
57 #endif 57 #endif
58 58
59 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \ 59 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) || \
60 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN)) 60 (BUILDFLAG(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
61 #include "chrome/utility/printing_handler.h" 61 #include "chrome/utility/printing_handler.h"
62 #endif 62 #endif
63 63
64 #if BUILDFLAG(ENABLE_PRINTING) 64 #if BUILDFLAG(ENABLE_PRINTING)
65 #include "chrome/common/chrome_content_client.h" 65 #include "chrome/common/chrome_content_client.h"
66 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" 66 #include "components/printing/service/public/cpp/pdf_compositor_service_factory. h" // nogncheck
67 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck 67 #include "components/printing/service/public/interfaces/pdf_compositor.mojom.h" // nogncheck
68 #endif 68 #endif
69 69
70 #if defined(FULL_SAFE_BROWSING) 70 #if defined(FULL_SAFE_BROWSING)
71 #include "chrome/common/safe_browsing/archive_analyzer_results.h" 71 #include "chrome/common/safe_browsing/archive_analyzer_results.h"
72 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h" 72 #include "chrome/common/safe_browsing/safe_archive_analyzer.mojom.h"
73 #include "chrome/common/safe_browsing/zip_analyzer.h" 73 #include "chrome/common/safe_browsing/zip_analyzer.h"
74 #if defined(OS_MACOSX) 74 #if defined(OS_MACOSX)
75 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h" 75 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h"
76 #endif 76 #endif
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 #if BUILDFLAG(ENABLE_EXTENSIONS) 358 #if BUILDFLAG(ENABLE_EXTENSIONS)
359 extensions::ExtensionsHandler::PreSandboxStartup(); 359 extensions::ExtensionsHandler::PreSandboxStartup();
360 #endif 360 #endif
361 } 361 }
362 362
363 // static 363 // static
364 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback( 364 void ChromeContentUtilityClient::SetNetworkBinderCreationCallback(
365 const NetworkBinderCreationCallback& callback) { 365 const NetworkBinderCreationCallback& callback) {
366 g_network_binder_creation_callback.Get() = callback; 366 g_network_binder_creation_callback.Get() = callback;
367 } 367 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698