namespace realsense {
namespace bench_image {

class BenchImageInstance : public xwalk::common::Instance {
 public:
  BenchImageInstance();
  ~BenchImageInstance() override;

 private:
  void HandleMessage(const char* msg) override;
  void HandleSyncMessage(const char* msg) override;

  void OnBenchImageConstructor(
    scoped_ptr<xwalk::common::XWalkExtensionFunctionInfo> info);

  xwalk::common::XWalkExtensionFunctionHandler handler_;
  xwalk::common::BindingObjectStore store_;
};

}  // namespace bench_image
}  // namespace realsense

#endif  // REALSENSE_BENCHMARKS_BENCH_IMAGE_BENCH_IMAGE_INSTANCE_H_
