#ifndef CHROME_RENDERER_EXTENSIONS_API_PRINTING_HOOKS_DELEGATE_H_
#define CHROME_RENDERER_EXTENSIONS_API_PRINTING_HOOKS_DELEGATE_H_
#include "extensions/renderer/bindings/api_binding_hooks_delegate.h"
#include "v8/include/v8.h"
namespace extensions {
class PrintingHooksDelegate : public APIBindingHooksDelegate {
public:
PrintingHooksDelegate();
~PrintingHooksDelegate() override;
PrintingHooksDelegate(const PrintingHooksDelegate&) = delete;
PrintingHooksDelegate& operator=(const PrintingHooksDelegate&) = delete;
APIBindingHooks::RequestResult HandleRequest(
const std::string& method_name,
const APISignature* signature,
v8::Local<v8::Context> context,
v8::LocalVector<v8::Value>* arguments,
const APITypeReferenceMap& refs) override;
private:
APIBindingHooks::RequestResult HandleSubmitJob(
v8::Isolate* isolate,
v8::LocalVector<v8::Value>* arguments);
};
}
#endif