• 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 /** Interface representing a connection to the Android service. Can be mocked in unit-tests. */
8 /* package */ interface ChildServiceConnection {
bindServiceConnection()9     boolean bindServiceConnection();
10 
unbindServiceConnection()11     void unbindServiceConnection();
12 
isBound()13     boolean isBound();
14 
updateGroupImportance(int group, int importanceInGroup)15     void updateGroupImportance(int group, int importanceInGroup);
16 
retire()17     void retire();
18 }
19