• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.base.process_launcher;
6 
7 import android.os.IBinder;
8 
9 /**
10  * Delegate that ChildServiceConnection should call when the service connects/disconnects.
11  * These callbacks are expected to happen on a background thread.
12  */
13 /* package */ interface ChildServiceConnectionDelegate {
onServiceConnected(IBinder service)14     void onServiceConnected(IBinder service);
15 
onServiceDisconnected()16     void onServiceDisconnected();
17 }
18