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

Unified Diff: content/child/blink_platform_impl.cc

Issue 2589493006: Revert of Enable connection to Mojo services from Blink (Closed)
Patch Set: 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/child/blink_platform_impl.h ('k') | content/public/app/mojo/content_renderer_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 068824a9c6c1b7ff02777546878ccc3837958cfd..d6df25ef15710c247fa41b3675b9ac814b91d65b 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -48,10 +48,7 @@
#include "content/child/web_url_request_util.h"
#include "content/child/worker_thread_registry.h"
#include "content/public/common/content_client.h"
-#include "content/public/common/service_manager_connection.h"
#include "net/base/net_errors.h"
-#include "services/service_manager/public/cpp/connector.h"
-#include "services/service_manager/public/interfaces/connector.mojom.h"
#include "third_party/WebKit/public/platform/WebData.h"
#include "third_party/WebKit/public/platform/WebFloatPoint.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
@@ -73,6 +70,11 @@
using blink::scheduler::WebThreadImplForWorkerScheduler;
namespace content {
+
+namespace {
+
+
+} // namespace
static int ToMessageID(WebLocalizedString::Name name) {
switch (name) {
@@ -788,19 +790,6 @@
return false;
}
-void BlinkPlatformImpl::bindServiceConnector(
- service_manager::mojom::blink::ConnectorRequest request) {
- if (!ChildThreadImpl::current())
- return;
-
- service_manager::mojom::ConnectorRequest chromium_request;
- chromium_request.Bind(request.PassMessagePipe());
- ChildThreadImpl::current()
- ->GetServiceManagerConnection()
- ->GetConnector()
- ->BindRequest(std::move(chromium_request));
-}
-
blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString(
unsigned key_size_index,
const blink::WebString& challenge,
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/public/app/mojo/content_renderer_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698