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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: remove headers Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 90d7c25d1d3e60a3edb70170c87f7cd7408ba4ea..4c933f54007ec527ef1988f86cd3e4e039e290d2 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -139,6 +139,7 @@
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
+#include "components/printing/service/public/interfaces/pdf_compositor.mojom.h"
Lei Zhang 2017/04/22 00:12:26 Also ifdef'd?
Wei Li 2017/04/27 05:34:16 Done.
#include "components/rappor/public/rappor_utils.h"
#include "components/rappor/rappor_recorder_impl.h"
#include "components/rappor/rappor_service_impl.h"
@@ -3305,6 +3306,12 @@ void ChromeContentBrowserClient::RegisterOutOfProcessServices(
services->insert(std::make_pair("media",
base::ASCIIToUTF16("Media Service")));
#endif
+
+#if BUILDFLAG(ENABLE_PRINTING)
+ services->insert(
+ std::make_pair(printing::mojom::kServiceName,
+ base::ASCIIToUTF16("PDF Compositor Service")));
+#endif
}
std::unique_ptr<base::Value>

Powered by Google App Engine
This is Rietveld 408576698