Chromium Code Reviews| Index: content/browser/browser_context.cc |
| diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc |
| index 1e7f2c38205d9b210a1500f0868df6a94a4a2301..0e69b71d03108591995d4de73fef6df1e0336629 100644 |
| --- a/content/browser/browser_context.cc |
| +++ b/content/browser/browser_context.cc |
| @@ -47,6 +47,8 @@ |
| #include "services/service_manager/public/cpp/connection.h" |
| #include "services/service_manager/public/cpp/connector.h" |
| #include "services/service_manager/public/interfaces/service.mojom.h" |
| +#include "services/shape_detection/public/interfaces/constants.mojom.h" |
| +#include "services/shape_detection/shape_detection_service.h" |
| #include "storage/browser/database/database_tracker.h" |
| #include "storage/browser/fileapi/external_mount_points.h" |
| @@ -466,6 +468,12 @@ void BrowserContext::Initialize( |
| BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE)); |
| connection->AddEmbeddedService(device::mojom::kServiceName, info); |
| + ServiceInfo shape_detection_info; |
| + shape_detection_info.factory = |
| + base::Bind(&shape_detection::ShapeDetectionService::Create); |
| + connection->AddEmbeddedService(shape_detection::mojom::kServiceName, |
|
Ken Rockot(use gerrit already)
2016/12/27 18:22:03
You can remove this now.
|
| + shape_detection_info); |
| + |
| if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kMojoLocalStorage)) { |
| ServiceInfo info; |