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

Side by Side Diff: services/service_manager/public/java/src/org/chromium/services/service_manager/InterfaceRegistry.java

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 package org.chromium.services.shell; 5 package org.chromium.services.shell;
6 6
7 import org.chromium.mojo.bindings.Interface; 7 import org.chromium.mojo.bindings.Interface;
8 import org.chromium.mojo.system.MessagePipeHandle; 8 import org.chromium.mojo.system.MessagePipeHandle;
9 import org.chromium.mojo.system.MojoException; 9 import org.chromium.mojo.system.MojoException;
10 import org.chromium.shell.mojom.InterfaceProvider; 10 import org.chromium.shell.mojom.InterfaceProvider;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 public void bindToMessagePipe(MessagePipeHandle pipe) { 69 public void bindToMessagePipe(MessagePipeHandle pipe) {
70 I impl = mFactory.createImpl(); 70 I impl = mFactory.createImpl();
71 if (impl == null) { 71 if (impl == null) {
72 pipe.close(); 72 pipe.close();
73 return; 73 return;
74 } 74 }
75 mManager.bind(impl, pipe); 75 mManager.bind(impl, pipe);
76 } 76 }
77 } 77 }
78 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698