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(); unbindServiceConnection()10 void unbindServiceConnection(); isBound()11 boolean isBound(); updateGroupImportance(int group, int importanceInGroup)12 void updateGroupImportance(int group, int importanceInGroup); retire()13 void retire(); 14 } 15