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

Unified Diff: content/browser/browser_context.cc

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 30ff8d447b5992385bb397b902708c7c85f0d0e9..1e7f2c38205d9b210a1500f0868df6a94a4a2301 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -40,7 +40,7 @@
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
#include "services/device/device_service.h"
-#include "services/device/public/cpp/constants.h"
+#include "services/device/public/interfaces/constants.mojom.h"
#include "services/file/file_service.h"
#include "services/file/public/interfaces/constants.mojom.h"
#include "services/file/user_id_map.h"
@@ -464,7 +464,7 @@ void BrowserContext::Initialize(
info.factory =
base::Bind(&device::CreateDeviceService,
BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
- connection->AddEmbeddedService(device::kDeviceServiceName, info);
+ connection->AddEmbeddedService(device::mojom::kServiceName, info);
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kMojoLocalStorage)) {
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698