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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/webshare/ShareServiceImplementationFactory.java

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . 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.chrome.browser.webshare; 5 package org.chromium.chrome.browser.webshare;
6 6
7 import org.chromium.content_public.browser.WebContents; 7 import org.chromium.content_public.browser.WebContents;
8 import org.chromium.services.shell.InterfaceFactory; 8 import org.chromium.services.service_manager.InterfaceFactory;
9 import org.chromium.webshare.mojom.ShareService; 9 import org.chromium.webshare.mojom.ShareService;
10 10
11 /** 11 /**
12 * Factory that creates instances of ShareService. 12 * Factory that creates instances of ShareService.
13 */ 13 */
14 public class ShareServiceImplementationFactory implements InterfaceFactory<Share Service> { 14 public class ShareServiceImplementationFactory implements InterfaceFactory<Share Service> {
15 private final WebContents mWebContents; 15 private final WebContents mWebContents;
16 16
17 public ShareServiceImplementationFactory(WebContents webContents) { 17 public ShareServiceImplementationFactory(WebContents webContents) {
18 mWebContents = webContents; 18 mWebContents = webContents;
19 } 19 }
20 20
21 @Override 21 @Override
22 public ShareService createImpl() { 22 public ShareService createImpl() {
23 return new ShareServiceImpl(mWebContents); 23 return new ShareServiceImpl(mWebContents);
24 } 24 }
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698