class HeapProfilingTestShim {
 public:
  HeapProfilingTestShim(JNIEnv* env, jobject obj);
  void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);

  jboolean RunTestForMode(
      JNIEnv* env,
      const base::android::JavaParamRef<jobject>& obj,
      const base::android::JavaParamRef<jstring>& mode,
      jboolean dynamically_start_profiling,
      const base::android::JavaParamRef<jstring>& stack_mode,
      jboolean should_sample,
      jboolean sample_everything);

 private:
  ~HeapProfilingTestShim();

  DISALLOW_COPY_AND_ASSIGN(HeapProfilingTestShim);
};

#endif  // COMPONENTS_HEAP_PROFILING_MULTI_PROCESS_HEAP_PROFILING_TEST_SHIM_H_
