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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java

Issue 141223002: Move the android library loader from content to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.content.ComponentName; 7 import android.content.ComponentName;
8 import android.content.Context; 8 import android.content.Context;
9 import android.content.Intent; 9 import android.content.Intent;
10 import android.content.ServiceConnection; 10 import android.content.ServiceConnection;
11 import android.os.Bundle; 11 import android.os.Bundle;
12 import android.os.IBinder; 12 import android.os.IBinder;
13 import android.os.ParcelFileDescriptor; 13 import android.os.ParcelFileDescriptor;
14 import android.util.Log; 14 import android.util.Log;
15 15
16 import org.chromium.base.CpuFeatures; 16 import org.chromium.base.CpuFeatures;
17 import org.chromium.base.ThreadUtils; 17 import org.chromium.base.ThreadUtils;
18 import org.chromium.base.TraceEvent; 18 import org.chromium.base.TraceEvent;
19 import org.chromium.base.library_loader.Linker;
20 import org.chromium.base.library_loader.LinkerParams;
19 import org.chromium.content.app.ChildProcessService; 21 import org.chromium.content.app.ChildProcessService;
20 import org.chromium.content.app.Linker;
21 import org.chromium.content.app.LinkerParams;
22 import org.chromium.content.common.IChildProcessCallback; 22 import org.chromium.content.common.IChildProcessCallback;
23 import org.chromium.content.common.IChildProcessService; 23 import org.chromium.content.common.IChildProcessService;
24 24
25 import java.io.IOException; 25 import java.io.IOException;
26 26
27 /** 27 /**
28 * Manages a connection between the browser activity and a child service. 28 * Manages a connection between the browser activity and a child service.
29 */ 29 */
30 public class ChildProcessConnectionImpl implements ChildProcessConnection { 30 public class ChildProcessConnectionImpl implements ChildProcessConnection {
31 private final Context mContext; 31 private final Context mContext;
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 return; 417 return;
418 } 418 }
419 assert mStrongBindingCount > 0; 419 assert mStrongBindingCount > 0;
420 mStrongBindingCount--; 420 mStrongBindingCount--;
421 if (mStrongBindingCount == 0) { 421 if (mStrongBindingCount == 0) {
422 mStrongBinding.unbind(); 422 mStrongBinding.unbind();
423 } 423 }
424 } 424 }
425 } 425 }
426 } 426 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698