#ifndef EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_ITERABLE_H_
#define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_ITERABLE_H_
#include <string>
#include "base/functional/callback_forward.h"
namespace content {
class RenderFrame;
}
namespace extensions {
class ScriptContext;
class ScriptContextSetIterable {
public:
virtual void ForEach(
const std::string& extension_id,
content::RenderFrame* render_frame,
const base::RepeatingCallback<void(ScriptContext*)>& callback) = 0;
void ForEach(content::RenderFrame* render_frame,
const base::RepeatingCallback<void(ScriptContext*)>& callback);
void ForEach(const std::string& extension_id,
const base::RepeatingCallback<void(ScriptContext*)>& callback);
virtual ~ScriptContextSetIterable() {}
};
}
#endif