app_launch_manager_app_interface.h 683 B

1234567891011121314151617181920
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef IOS_TESTING_EARL_GREY_APP_LAUNCH_MANAGER_APP_INTERFACE_H_
  5. #define IOS_TESTING_EARL_GREY_APP_LAUNCH_MANAGER_APP_INTERFACE_H_
  6. #import <Foundation/Foundation.h>
  7. // AppLaunchManagerAppInterface contains helpers for AppLaunchManager
  8. // that are compiled into the app binary and can be called from either app or
  9. // test code.
  10. @interface AppLaunchManagerAppInterface : NSObject
  11. // Returns current host app PID.
  12. + (int)processIdentifier;
  13. @end
  14. #endif // IOS_TESTING_EARL_GREY_APP_LAUNCH_MANAGER_APP_INTERFACE_H_