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

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, 4 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 services->emplace(profiling::mojom::kServiceName, profiling_info); 338 services->emplace(profiling::mojom::kServiceName, profiling_info);
339 #endif 339 #endif
340 } 340 }
341 341
342 // static 342 // static
343 void ChromeContentUtilityClient::PreSandboxStartup() { 343 void ChromeContentUtilityClient::PreSandboxStartup() {
344 #if BUILDFLAG(ENABLE_EXTENSIONS) 344 #if BUILDFLAG(ENABLE_EXTENSIONS)
345 extensions::ExtensionsHandler::PreSandboxStartup(); 345 extensions::ExtensionsHandler::PreSandboxStartup();
346 #endif 346 #endif
347 } 347 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698